예제 #1
0
def test_tv_show_false_eq_function():
    tv_show1 = TV_Show("Sailor Moon: Crystal", 2014)
    tv_show2 = Movie(" ", 11)
    assert tv_show1.__eq__(tv_show2) is False
예제 #2
0
def test_tv_show_eq_function():
    tv_show1 = TV_Show("Sailor Moon: Crystal", 2014)
    tv_show2 = TV_Show("Sailor Moon: Crystal", 2014)
    assert tv_show1.__eq__(tv_show2) is True