Im making a class that has to pass some tests, and im currently doing two tests that makes no sense they pass and I wonder why
Like the defined date is 2/1/2017, and comparing it with day 1 gives true, when it should give false and at the same time when comparing 2 with 7 gives false
#Don't understand test output
19 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @late tundra! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Maybe your other constructor is wrong
It's weird how you're trying to show as little as possible so we couldn't possibly have information that would be relevant to what's happening to you
i thought showing more would be worst
like i think thats everything that should be interacting with the test
which constructor?
The one with 3 params. Also possibly whatever you use to get variable today
We've all been beginners, but I don't remember having ever thought that people are going to read my mind
todat gets defined in the tests thing
ig, im sorry
thats the whole code