def test5():
    assert date_fashion(10, 2) == 0
예제 #2
0
def test_02():
    assert date_fashion(5, 2) == 0
예제 #3
0
def test_9():
    assert date_fashion(2, 2) is 0
예제 #4
0
def test_11():
    assert date_fashion(2, 7) is 0
예제 #5
0
def test_5():
    assert date_fashion(10, 2) is 0
예제 #6
0
def test_7():
    assert date_fashion(9, 9) is 2
예제 #7
0
 def test_5_and_10_returns_2(self):
     actual = date_fashion(5, 10)
     expected = 2
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 5 and 10 to return "2"')
예제 #8
0
def test_3():
    assert date_fashion(5, 5) is 1
예제 #9
0
 def test_5_and_5_returns_1(self):
     actual = date_fashion(5, 5)
     expected = 1
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 5 and 5 to return "1"')
예제 #10
0
 def test_9_and_9_returns_2(self):
     actual = date_fashion(9, 9)
     expected = 2
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 9 and 9 to return "2"')
def test8():
    assert date_fashion(10, 5) == 2
def test7():
    assert date_fashion(9, 9) == 2
def test6():
    assert date_fashion(2, 9) == 0
예제 #14
0
def test_1():
    assert date_fashion(5, 10) is 2
예제 #15
0
 def test_10_and_5_returns_2(self):
     actual = date_fashion(10, 5)
     expected = 2
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 10 and 5 to return "2"')
예제 #16
0
def test_2():
    assert date_fashion(5, 2) is 0
예제 #17
0
 def test_3_and_7_returns_1(self):
     actual = date_fashion(3, 7)
     expected = 1
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 3 and 7 to return "1"')
예제 #18
0
def test_4():
    assert date_fashion(3, 3) is 1
예제 #19
0
 def test_2_and_7_returns_0(self):
     actual = date_fashion(2, 7)
     expected = 0
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 2 and 7 to return "0"')
예제 #20
0
def test_6():
    assert date_fashion(2, 9) is 0
예제 #21
0
 def test_6_and_2_returns_0(self):
     actual = date_fashion(6, 2)
     expected = 0
     self.assertEqual(
         actual, expected,
         'Expected calling date_fashion() with 6 and 2 to return "0"')
예제 #22
0
def test_8():
    assert date_fashion(10, 5) is 2
예제 #23
0
def test_03():
    assert date_fashion(5, 5) == 1
예제 #24
0
def test_10():
    assert date_fashion(3, 7) is 1
예제 #25
0
def test_01():
    assert date_fashion(5, 10) == 2
예제 #26
0
def test_12():
    assert date_fashion(6, 2) is 0
def test4():
    assert date_fashion(3, 3) == 1