示例#1
0
def test_parrot_night_quiet():
    assert parrot_trouble(22, False) is False
示例#2
0
def test_parrot_day_quiet():
    assert parrot_trouble(12, False) is False
示例#3
0
def test_parrot_night_talking():
    assert parrot_trouble(20, True)
示例#4
0
def test_parrot_early_quiet():
    assert parrot_trouble(5, False) is False
示例#5
0
def test_parrot_day_talking():
    assert parrot_trouble(10, True) is False
def test_parrot_true_6():
    assert parrot_trouble(True, 6)
示例#7
0
def test_parrot_early_talking():
    assert parrot_trouble(6, True)
def test_parrot_true_20():
    assert parrot_trouble(True, 20) is False
def test_parrot_false_12():
    assert parrot_trouble(False, 12) is False
def test_parrot_false_20():
    assert parrot_trouble(False, 20) is False
def test_parrot_false_21():
    assert parrot_trouble(False, 21) is False
def test_parrot_true_21():
    assert parrot_trouble(True, 21)
def test_parrot_false_6():
    assert parrot_trouble(False, 6) is False
def test_parrot_true_7():
    assert parrot_trouble(True, 7) is False