# Exercise: rot
#
# The `rot` word rotates the top three elements.
# The third element moves to the top.
#
# Stack effect: ( a b c -- b c a )
#
# Example:
#   1 2 3 rot    # Stack: ( 2 3 1 )
#
# Your task: Use `rot` to move 3 to the top.
# When done, delete the marker line below.

# I AM NOT DONE

: test-rot ( -- )
    3 1 2
    # Your code here - add rot
    # Do not edit below this line
    3 test.assert-eq
    2 test.assert-eq
    1 test.assert-eq
;
