def test_init_fillRowOnePassEmpty(self): testrow2 = Row([0], "00000") testrow2.fillRowOnePass() self.assertEqual(testrow2.rowContent, [1, 1, 1, 1, 1])
def test_init_fillRowOnePassMiscSize(self): testrow3 = Row([1, 6, 1], "0000000000") testrow3.fillRowOnePass() self.assertEqual(testrow3.rowContent, [2, 1, 2, 2, 2, 2, 2, 2, 1, 2])
def test_init_fillRowOnePassFull(self): testrow = Row([5], "00000") testrow.fillRowOnePass() self.assertEqual(testrow.rowContent, [2, 2, 2, 2, 2])