stage.set_background("grid")
sprite = codesters.Point(50 150)
sprite.set_size(3)
sprite.set_color("red")
try:
tval1 = sprite.get_x()
except:
tval1 = "DNE"
try:
tval2 = sprite.get_y()
except:
tval2 = "DNE"
#print(tval1)
t1 = TestObjective()
t1.add_success(tval1 == 50, "Great job debugging the program!")
t1.add_failure(tval1 == "DNE", "Did you delete the point?")
t1.add_default("That's a good spot as well!")
t2 = TestObjective()
t2.add_success(tval2 == 150, "Great job debugging the program!")
t2.add_failure(tval2 == "DNE", "Did you delete the point?")
t2.add_default("That's a good spot as well!")
tester = TestManager()
tester.add_test_list([t1, t2])
tester.run_tests()
tester.display_first_feedback()