Advertisement
Guest User

Aussie Mario

a guest
Feb 2nd, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. :) mario.c exists
  2. :) mario.c compiles
  3. :) rejects a height of -1
  4. :( handles a height of 0 correctly
  5. \ expected an exit code of 0, not output of "Give me a number of bricks between 1 an..."
  6. :) handles a height of 1 correctly
  7. :) handles a height of 2 correctly
  8. :( handles a height of 23 correctly
  9. \ expected output, but not "Give me a number of bricks between 1 an..."
  10. :( rejects a height of 24
  11. \ expected output, but not "Give me a number of bricks between 1 an..."
  12. :) rejects a non-numeric height of "foo"
  13. :) rejects a non-numeric height of ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement