예제 #1
0
 def test_simple_lcm12(self):
     assert tdd_prime.lcm(-12, 6) == 12
예제 #2
0
 def test_simple_lcm9(self):
     assert tdd_prime.lcm(12, 6) == 12
예제 #3
0
 def test_simple_lcm11(self):
     assert tdd_prime.lcm(-6, 12) == 12
예제 #4
0
 def test_simple_lcm7(self):
     assert tdd_prime.lcm(0, -1) == 0
예제 #5
0
 def test_simple_lcm8(self):
     assert tdd_prime.lcm(0, 0) == "Undefined"
예제 #6
0
 def test_simple_lcm6(self):
     assert tdd_prime.lcm(-1, 0) == 0
예제 #7
0
 def test_simple_lcm5(self):
     assert tdd_prime.lcm(1, -4) == 4
예제 #8
0
 def test_simple_lcm4(self):
     assert tdd_prime.lcm(-1, 4) == 4
예제 #9
0
 def test_simple_lcm1(self):
     assert tdd_prime.lcm(1, 1) == 1
예제 #10
0
 def test_simple_lcm(self):
     assert tdd_prime.lcm(5, 7) == 35