예제 #1
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day2():
    assert day_of_the_week(2057, 5, 3) == calendar.weekday(2057, 5, 3) + 1
예제 #2
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day7():
    assert day_of_the_week(1912, 1, 1) == calendar.weekday(1912, 1, 1) + 1
예제 #3
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day1():
    assert day_of_the_week(1940, 12, 31) == 2
예제 #4
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day5():
    assert day_of_the_week(2002, 11, 29) == calendar.weekday(2002, 11, 29) + 1
예제 #5
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day6():
    assert day_of_the_week(1976, 6, 16) == calendar.weekday(1976, 6, 16) + 1
예제 #6
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day3():
    assert day_of_the_week(2018, 10, 30) == 2
예제 #7
0
파일: test_TDS.py 프로젝트: Josh-Amos/wb272
def test_Day4():
    assert day_of_the_week(2200, 7, 14) == calendar.weekday(2200, 7, 14) + 1
예제 #8
0
def test05():
    return day_of_the_week(1900, 1, 5) == 5
예제 #9
0
def test06():
    return day_of_the_week(2009, 2, 7) == 6
예제 #10
0
def test04():
    return day_of_the_week(1989, 11, 9) == 4
예제 #11
0
def test03():
    return day_of_the_week(2012, 2, 29) == 3
예제 #12
0
def test02():
    return day_of_the_week(2013, 12, 31) == 2
예제 #13
0
def test01():
    return day_of_the_week(2013, 3, 11) == 1
예제 #14
0
def test00():
    return day_of_the_week(1961, 8, 13) == 0