Example #1
0
 def test_equals_2(self):
     self.assertEqual(pattern(2), "2\n21")
Example #2
0
 def test_equals(self):
     self.assertEqual(pattern(1), "1")
Example #3
0
 def test_equals_3(self):
     self.assertEqual(pattern(5), "5\n54\n543\n5432\n54321")
 def test_equals_2(self):
     self.assertEqual(pattern(2), '2\n21')
 def test_equals(self):
     self.assertEqual(pattern(1), '1')
 def test_equals_3(self):
     self.assertEqual(pattern(5), '5\n54\n543\n5432\n54321')