Skip to content

Commit 25c5f66

Browse files
committed
refactor smck verification test (remove usless superclass)
1 parent 4162a01 commit 25c5f66

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

verification.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4528,9 +4528,10 @@ def test_smc_num_trees(self):
45284528
pyplot.close("all")
45294529

45304530

4531-
class SmckvsSMCK(Test):
4531+
class SmcKTest(Test):
45324532
"""
4533-
Tests for the SMC(k) approximation coalescent against the SMC(k) model.
4533+
Tests for the SMCK model.
4534+
SMC(0) is compared against rejection sampling SMC (SmcApproxCoalescent).
45344535
"""
45354536

45364537
models = {
@@ -4653,12 +4654,6 @@ def _run(self, **kwargs):
46534654
self.plot_SmcKApprox_smcK_stats(df)
46544655
self.plot_tree_intervals(df)
46554656

4656-
4657-
class SmcKTest(SmckvsSMCK):
4658-
"""
4659-
Tests for the SMC(0) model against rejection sampling.
4660-
"""
4661-
46624657
def test_smc_k_oldest_time(self):
46634658
"""
46644659
Runs the check for number of trees using the CLI.

0 commit comments

Comments
 (0)