Skip to content

Commit be76a7d

Browse files
committed
Add 12 Days of Christmas test
1 parent 4ed3bdd commit be76a7d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/derfmat/samples.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ def sample(self, sample: str, expected: str, input: str = "", *,
2323
buffer.seek(0)
2424
self.assertEqual(expected.rstrip(), buffer.read(length).rstrip())
2525

26+
def test_12_days_of_christmas(self):
27+
self.sample("12-days-of-christmas", "On the First day of Christmas\nMy true love sent to me",
28+
length=54, sixmat=False)
29+
2630
def test_bct(self):
2731
self.sample("bct", "101\n01\n1\n11\n110\n10\n101\n1010\n010\n010\n010\n10",
2832
max_lifetimes=12)

0 commit comments

Comments
 (0)