You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a program that takes **A POSITIVE INT** and displays its prime factors on the...
If the program should take a positive int and the input to the program will always be valid when being tested by Moulinette, then the 42_EXAM simulator should never test fprime with a negative number.
trace for fprime:
----------------8<-------------[ START TEST
💻 TEST
./a.out "-52"
🔎 YOUR OUTPUT:
❌ TIMEOUT
----------------8<------------- END TEST
As you can see, the simulator is testing the program with an invalid input and expecting a specific result when the subject explicitly says that the program will not be tested with invalid inputs.
The text was updated successfully, but these errors were encountered:
subject:
also the subject:
If the program should take a positive int and the input to the program will always be valid when being tested by Moulinette, then the 42_EXAM simulator should never test fprime with a negative number.
trace for fprime:
As you can see, the simulator is testing the program with an invalid input and expecting a specific result when the subject explicitly says that the program will not be tested with invalid inputs.
The text was updated successfully, but these errors were encountered: