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