예제 #1
0
def test_21():
    """  Test the 21 from the assignments. """
    assert homework.spiralize(21) == 6421
예제 #2
0
def test_141():
    """  Test the 141 from the assignments. """
    assert homework.spiralize(141) == 1878941
예제 #3
0
def test_161():
    """  Test the 161 from the assignments. """
    assert homework.spiralize(161) == 2795361
예제 #4
0
def test_101():
    """  Test the 101 from the assignments. """
    assert homework.spiralize(101) == 692101
예제 #5
0
def test_121():
    """  Test the 121 from the assignments. """
    assert homework.spiralize(121) == 1188521
예제 #6
0
def test_71():
    """  Test the 71 from the assignments. """
    assert homework.spiralize(71) == 241221
예제 #7
0
def test_81():
    """  Test the 81 from the assignments. """
    assert homework.spiralize(81) == 357681
예제 #8
0
def test_441():
    """  Test the 441 from the assignments. """
    assert homework.spiralize(441) == 57275241
예제 #9
0
def test_451():
    """  Test the 451 from the assignments. """
    assert homework.spiralize(451) == 61258201
예제 #10
0
def test_421():
    """  Test the 421 from the assignments. """
    assert homework.spiralize(421) == 49834821
예제 #11
0
def test_431():
    """  Test the 431 from the assignments. """
    assert homework.spiralize(431) == 53468781
예제 #12
0
def test_401():
    """  Test the 401 from the assignments. """
    assert homework.spiralize(401) == 43068401
예제 #13
0
def test_391():
    """  Test the 391 from the assignments. """
    assert homework.spiralize(391) == 39927941
예제 #14
0
def test_381():
    """  Test the 381 from the assignments. """
    assert homework.spiralize(381) == 36943981
예제 #15
0
def test_51():
    """  Test the 51 from the assignments. """
    assert homework.spiralize(51) == 89801
예제 #16
0
def test_461():
    """  Test the 461 from the assignments. """
    assert homework.spiralize(461) == 65421661
예제 #17
0
def test_61():
    """  Test the 61 from the assignments. """
    assert homework.spiralize(61) == 153261
예제 #18
0
def test_471():
    """  Test the 471 from the assignments. """
    assert homework.spiralize(471) == 69769621
예제 #19
0
def test_five():
    """"  Test the 5 from the assignments. """
    assert homework.spiralize(5) == 101
예제 #20
0
def test_31():
    """  Test the 31 from the assignments. """
    assert homework.spiralize(31) == 20381
예제 #21
0
def test_91():
    """  Test the 91 from the assignments. """
    assert homework.spiralize(91) == 506641
예제 #22
0
def test_481():
    """  Test the 481 from the assignments. """
    assert homework.spiralize(481) == 74306081
예제 #23
0
def test_111():
    """  Test the 111 from the assignments. """
    assert homework.spiralize(111) == 918061
예제 #24
0
def test_491():
    """  Test the 491 from the assignments. """
    assert homework.spiralize(491) == 79035041
예제 #25
0
def test_131():
    """  Test the 131 from the assignments. """
    assert homework.spiralize(131) == 1507481
예제 #26
0
def test_501():
    """  Test the 501 from the assignments. """
    assert homework.spiralize(501) == 83960501
예제 #27
0
def test_151():
    """  Test the 151 from the assignments. """
    assert homework.spiralize(151) == 2306901
예제 #28
0
def test_41():
    """  Test the 41 from the assignments. """
    assert homework.spiralize(41) == 46841
예제 #29
0
def test_171():
    """  Test the 171 from the assignments. """
    assert homework.spiralize(171) == 3348321
예제 #30
0
def test_371():
    """  Test the 371 from the assignments. """
    assert homework.spiralize(371) == 34112521