Exemplo n.º 1
0
def main(argv):
    test1 = [newtoncooling, 100,0,100,10]

    isCorrect = True
#    student = problemSet.Correct()

    test1_correct = str(correct_euler(test1[0], test1[1], test1[2], test1[3], test1[4]))
    test1_student = str(student.euler(test1[0], test1[1], test1[2], test1[3], test1[4]))
    print "Correct Output: " + test1_correct
    print "Your Output: "    + test1_student 
    if compare(test1_correct, test1_student):
        print "Correct!"
    else:
        print "Incorrect"
        isCorrect = False