stage.set_background("winter")
sprite = codesters.Sprite("person12")
try:
tval1 = sprite.get_x()
except:
tval1 = "DNE"
t1 = TestObjective()
t1.add_success(tval1 == -125, "Great Job!")
t1.add_failure(tval1 == 0, "Did you move the sprite to the left?")
t1.add_failure(tval1 == -100, "Did you change the x-coordinate in the Go To command?")
t1.add_failure(tval1 == "DNE", "Did you delete your sprite?")
t1.add_creative(tval1 != -125 and tval1 != 0 and tval1 != "DNE", "That's a good place for the sprite!")
#t1.add_default("Creative choice!")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()