예제 #1
0
 def test_zeros(self):
     self.assertTrue(main.solver(0, 1, 200))
예제 #2
0
 def test_sample2(self):
     self.assertFalse(main.solver(125, 1, 2))
예제 #3
0
 def test_sample1(self):
     self.assertTrue(main.solver(86, 2, 3))
예제 #4
0
 def test_diff(self):
     self.assertFalse(main.solver(2, 1, 2))
예제 #5
0
 def test_out_of_range(self):
     self.assertTrue(main.solver(1, 11, 11))
예제 #6
0
 def test_eq(self):
     self.assertTrue(main.solver(11, 1, 1))