stage.set_background("concert")
sprite = codesters.Sprite("person1")
sprite.move_down(100)
sprite.set_speed(3)
sprite.flip_up_down()
sprite.move_right(150)
sprite.move_left(200)
sprite.flip_up_down()
try:
tval1 = sprite.get_direction()
except:
tval1 = "DNE"
#print(tval1)
t1 = TestObjective()
t1.add_success(tval1 == 360, "Great Job!")
t1.add_failure(tval1 == 0, "Did you use a turn_left command?")
t1.add_failure(tval1 == 90, "Did you change the number in the turn_left command?")
t1.add_failure(tval1 == "DNE", "Did you delete the sprite?")
t1.add_creative(tval1 != 0 and tval1 != 360 and tval1 != "DNE", "That's a creative choice!")
#t1.add_default("Creative choice!")
tester = TestManager()
tester.add_test_list([t1])
tester.run_tests()
tester.display_first_feedback()