renamed pattern test functions to be more meaningful
This commit is contained in:
+4
-4
@@ -12,17 +12,17 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
def testImports(self):
|
||||
from interp.baker import pattern
|
||||
|
||||
def test0(self):
|
||||
def test_baker_eq_8(self):
|
||||
b = sorted([tuple(sorted(i)) for i in ((1,2),(2,3),(3,1))])
|
||||
p = sorted(pattern(power = 2, phicount = 3))
|
||||
self.assertEqual(b,p)
|
||||
|
||||
def test1(self):
|
||||
def test_baker_eq_17(self):
|
||||
b = sorted([tuple(sorted(i)) for i in ((1,2,2), (1,3,3), (2,1,1), (2,3,3), (3,1,1), (3,2,2), (1,2,3))])
|
||||
p = sorted(pattern(power = 3, phicount = 3))
|
||||
self.assertEqual(b,p)
|
||||
|
||||
def test2(self):
|
||||
def test_baker_eq_15(self):
|
||||
b = sorted([tuple(sorted(i)) for i in (
|
||||
(1,2), (1,3), (1,4),
|
||||
(2,3), (2,4), (3,4))])
|
||||
@@ -31,7 +31,7 @@ class TestSequenceFunctions(unittest.TestCase):
|
||||
|
||||
self.assertEqual(b,p)
|
||||
|
||||
def test3(self):
|
||||
def test_smcquay_(self):
|
||||
b = sorted([tuple(sorted(i)) for i in (
|
||||
(1,2,3), (2,3,4), (1,2,4), (1,3,4),
|
||||
(1,1,2), (1,2,2),
|
||||
|
||||
Reference in New Issue
Block a user