When I run the Mario.c program I created my output seems to be exactly the same as what I get when I run ~cs50/pset1/mario
, but when I use check50
for the problem set (exact input below) I get a bunch of statements indicating " \ expected output, not an exit code of 0."
I have looked at several other questions related to the check for mario, but haven't been able to figure out where I am going wrong. I was able to make a few minor tweaks moving in the right direction (I had an extra space before my hashes and fixed that).
Below is the the response to my check:
jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/mario mario.c
:) mario.c exists
:) mario.c compiles
:( rejects a height of -1
\ expected output, not an exit code of 0
:( handles a height of 0 correctly
\ expected output, not an exit code of 0
:( handles a height of 1 correctly
\ expected output, not an exit code of 0
:( handles a height of 2 correctly
\ expected output, not an exit code of 0
:( handles a height of 23 correctly
\ expected output, not an exit code of 0
:( rejects a height of 24
\ expected output, not an exit code of 0
:( rejects a non-numeric height of "foo"
\ expected output, not an exit code of 0
:( rejects a non-numeric height of ""
\ expected output, not an exit code of 0
https://sandbox.cs50.net/checks/7dd64bc2a7c94b8ebaea7ad14ec1df8a
I was going to include some of my outputs, but when I past them from vmware into this program, they unfortunately don't look the same. My outputs don't have extra spaces or lines, the pyramids are the correct height, and the program reprompts with "Height" or "Retry" for entries which are not integers between 0-23.
Any suggestions or tips are greatly appreciated.