コード例 #1
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_441():
    """  Test the 441 from the assignments. """
    assert homework.spiralize(441, 20) == 57291980
コード例 #2
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_201():
    """  Test the 201 from the assignments. """
    assert homework.spiralize(201, 8) == 5437008
コード例 #3
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_221():
    """  Test the 221 from the assignments. """
    assert homework.spiralize(221, 48) == 7241348
コード例 #4
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_171():
    """  Test the 171 from the assignments. """
    assert homework.spiralize(171, 9) == 3351049
コード例 #5
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_11():
    """  Test the 11 from the assignments. """
    assert homework.spiralize(11, 27) == 1507
コード例 #6
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_131():
    """  Test the 131 from the assignments. """
    assert homework.spiralize(131, 19) == 1512179
コード例 #7
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_151():
    """  Test the 151 from the assignments. """
    assert homework.spiralize(151, 28) == 2315028
コード例 #8
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_491():
    """  Test the 491 from the assignments. """
    assert homework.spiralize(491, 6) == 79039946
コード例 #9
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_501():
    """  Test the 501 from the assignments. """
    assert homework.spiralize(501, 15) == 83974515
コード例 #10
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_481():
    """  Test the 481 from the assignments. """
    assert homework.spiralize(481, 13) == 74317613
コード例 #11
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_41():
    """  Test the 41 from the assignments. """
    assert homework.spiralize(41, 43) == 50243
コード例 #12
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_471():
    """  Test the 471 from the assignments. """
    assert homework.spiralize(471, 26) == 69793146
コード例 #13
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_461():
    """  Test the 461 from the assignments. """
    assert homework.spiralize(461, 50) == 65466790
コード例 #14
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_451():
    """  Test the 451 from the assignments. """
    assert homework.spiralize(451, 25) == 61279825
コード例 #15
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_111():
    """  Test the 111 from the assignments. """
    assert homework.spiralize(111, 18) == 921818
コード例 #16
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_51():
    """  Test the 51 from the assignments. """
    assert homework.spiralize(51, 49) == 94649
コード例 #17
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_121():
    """  Test the 121 from the assignments. """
    assert homework.spiralize(121, 26) == 1194546
コード例 #18
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_61():
    """  Test the 61 from the assignments. """
    assert homework.spiralize(61, 40) == 157980
コード例 #19
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_141():
    """  Test the 141 from the assignments. """
    assert homework.spiralize(141, 22) == 1884842
コード例 #20
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_71():
    """  Test the 71 from the assignments. """
    assert homework.spiralize(71, 49) == 247989
コード例 #21
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_161():
    """  Test the 161 from the assignments. """
    assert homework.spiralize(161, 33) == 2805633
コード例 #22
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_81():
    """  Test the 81 from the assignments. """
    assert homework.spiralize(81, 34) == 362994
コード例 #23
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_181():
    """  Test the 181 from the assignments. """
    assert homework.spiralize(181, 45) == 3985665
コード例 #24
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_1():
    """  Test the 1 from the assignments. """
    assert homework.spiralize(1, 35) == 35
コード例 #25
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_191():
    """  Test the 191 from the assignments. """
    assert homework.spiralize(191, 13) == 4668313
コード例 #26
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_91():
    """  Test the 91 from the assignments. """
    assert homework.spiralize(91, 48) == 515148
コード例 #27
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_211():
    """  Test the 211 from the assignments. """
    assert homework.spiralize(211, 8) == 6288108
コード例 #28
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_101():
    """  Test the 101 from the assignments. """
    assert homework.spiralize(101, 49) == 701749
コード例 #29
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_231():
    """  Test the 231 from the assignments. """
    assert homework.spiralize(231, 18) == 8252418
コード例 #30
0
ファイル: test_spiral.py プロジェクト: vcu-nkim/spiral2
def test_431():
    """  Test the 431 from the assignments. """
    assert homework.spiralize(431, 10) == 53476530