Example #1
0
def test_days_until_launch_0_negative():
    assert (days_until_launch(83, 64) == -19)
Example #2
0
def test_days_until_launch_1():
    assert (days_until_launch(9, 10) == 1)
Example #3
0
def test_days_until_launch_0_negative_2():
    assert(days_until_launch(65, 64) == 0)
Example #4
0
def test_days_until_launch_100():
    assert (days_until_launch(200, 100) == 100)
Example #5
0
def test_days_until_launch():
    assert (days_until_launch(8, 10) == 2)
Example #6
0
def test_days_until_launch_5():
    assert(days_until_launch(22, 27) == 5)
def test_days_until_launch_0_negative():
    assert (days_until_launch(64, 83) == 19)
def test_days_until_launch_1():
    assert (days_until_launch(5, 21) == 16)
Example #9
0
def test_days_until_launch_2():
    assert(days_until_launch(-9, 10) == 0)
Example #10
0
def test_days_until_launch_3():
    assert(days_until_launch(-9, -10) == 0)
Example #11
0
def test_days_until_launch_negative_number():
    assert (days_until_launch(-11, -10) == 0)
def test_days_until_launch_5():
    assert(days_until_launch(10, 15) == 5)
Example #13
0
def test_days_until_launch_4():
    assert (days_until_launch(83, 64) == 0)
Example #14
0
def test_days_until_launch_4():
    assert (days_until_launch(22, 26) == 4)
Example #15
0
def test_days_until_launch_str():
    assert (days_until_launch(string, 1) == 1)
Example #16
0
def test_days_until_launch_0():
    assert (days_until_launch(253, 253) == 0)
def test_days_until_launch_1():
    assert (days_until_launch(12, 23) == 12)