示例#1
0
文件: test.py 项目: G-story/algorithm
 def test3(self):
     a = InputFactory.factory("random", int, 5, 1, 5)
     b = InputFactory.factory("random", int, 5, 1, 5)
     print a, b, Lunchbox.get_fast_time(a, b)
示例#2
0
文件: test.py 项目: G-story/algorithm
 def test1(self):
     self.assertEqual(Lunchbox.get_fast_time([2, 2, 2], [2, 2, 2]), 8)
示例#3
0
文件: test.py 项目: G-story/algorithm
 def test2(self):
     self.assertEqual(Lunchbox.get_fast_time([1, 2, 3], [1, 2, 1]), 7)