Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :) mario.c exists
- :) mario.c compiles
- :) rejects a height of -1
- :( handles a height of 0 correctly
- \ expected an exit code of 0, not output of "Give me a number of bricks between 1 an..."
- :) handles a height of 1 correctly
- :) handles a height of 2 correctly
- :( handles a height of 23 correctly
- \ expected output, but not "Give me a number of bricks between 1 an..."
- :( rejects a height of 24
- \ expected output, but not "Give me a number of bricks between 1 an..."
- :) rejects a non-numeric height of "foo"
- :) rejects a non-numeric height of ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement