Example #1
0
 def test_1x1(self):
     self.assertEqual(memo_misc.routes(1,1), 1)
Example #2
0
 def test_10x10(self):
     self.assertEqual(memo_misc.routes(10,10), 48620)
Example #3
0
 def test_4x1(self):
     self.assertEqual(memo_misc.routes(4,1), 1)
Example #4
0
 def test_4x2(self):
     self.assertEqual(memo_misc.routes(4,2), 4)
Example #5
0
 def test_3x3(self):
     self.assertEqual(memo_misc.routes(3,3), 6)