def test5_avgresults( ):
    assert '40.00' not in highlowresults('test', 3)    # incorrect result for avg Low
def test3_avgresults( ):
    assert '50.00' not in highlowresults('test', 2)    # incorrect result for avg High
def test4_avgresults( ):
    assert '39.10' in highlowresults('test', 3)    # corrrect results for avg Low
def test1_avgresults( ):
    assert 'test' in highlowresults('test', 2)    # correct string in results
def test2_avgresults( ):
    assert '44.06' in highlowresults('test', 2)    # correct result for avg High
Esempio n. 6
0
def test5_avgresults():
    assert '40.00' not in highlowresults('test',
                                         3)  # incorrect result for avg Low
Esempio n. 7
0
def test4_avgresults():
    assert '39.10' in highlowresults('test', 3)  # corrrect results for avg Low
Esempio n. 8
0
def test3_avgresults():
    assert '50.00' not in highlowresults('test',
                                         2)  # incorrect result for avg High
Esempio n. 9
0
def test2_avgresults():
    assert '44.06' in highlowresults('test', 2)  # correct result for avg High
Esempio n. 10
0
def test1_avgresults():
    assert 'test' in highlowresults('test', 2)  # correct string in results