Failed Formatted Test for Quipu program (CS 111)

Hi, everyone. Please forgive me, this is my first time asking for help as well as seeking help from a large server. I had to resort to this because my classmates, instructor, and tutors/helps are unavailable to answer me as of lately. I read the #❗︱how-to-get-help and I'm unsure if my type of inquiry is allowed. I'm just desperate because no one at my college and their resources is able to get back to me or help me. Since I do not having Discord Nitro (because my coding seems big to paste) I have my coding here to share via ChatGPT canvas, I hope this is okay: https://chatgpt.com/canvas/shared/67f1d5f2ac608191988f9483eedcd484 As for my issue. Apparently I'm not passing one out of six of my tests. I've tried asking ChatGPT for help, but the solutions ChatGPT gave me are no help still and keep me stuck and not passing my tests. I am able to discern that based off of ChatGPT's answers is that I need a System.out.println or some sort of System.out.print thing somewhere. My lab tests for my class are very strict with formatting and spacing. And I'm looking for help from someone to tell me where and what I need to fix in my coding. I do want to emphasize I use GitHub Codespaces for my class. I've provided two screenshots/images from what I'm seeing in my codespaces. And I'll also copy and paste what I saw from the Test 3, Test Results down below:
No description
No description
3 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @Janelle’s Screen! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant 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.
Janelle’s Screen
org.opentest4j.AssertionFailedError: Match failed for Test 3
Hello! This program turns any whole number between 0 and 999 into a digital Quipu.

Please enter a number between 0 and 999: Hundreds = 3
Tens = 4
Ones = 5

Your quipu:
___
|
*
*
*
|
*
*
*
*
|
*
*
*
*
*
|


Would you like to make another quipu? [Y/N]:
Please enter a number between 0 and 999: Hundreds = 1
Tens = 2
Ones = 3

Your quipu:
___
|
*
|
*
*
|
*
*
*
|


Would you like to make another quipu? [Y/N]:
Goodbye! does not contain Please enter a number between 0 and 999: Hundreds = 3
Tens = 4
Ones = 5

Your quipu:
___
|
*
*
*
|
*
*
*
*
|
*
*
*
*
*
|


Would you like to make another quipu? [Y/N]: Please enter a number between 0 and 999: Hundreds = 1
Tens = 2
Ones = 3

Your quipu:
___
|
*
|
*
*
|
*
*
*
|


Would you like to make another quipu? [Y/N]: ==] expected: [true] but was: [false]
at TestOutput.testOutputMatch(TestOutput.java:60)
org.opentest4j.AssertionFailedError: Match failed for Test 3
Hello! This program turns any whole number between 0 and 999 into a digital Quipu.

Please enter a number between 0 and 999: Hundreds = 3
Tens = 4
Ones = 5

Your quipu:
___
|
*
*
*
|
*
*
*
*
|
*
*
*
*
*
|


Would you like to make another quipu? [Y/N]:
Please enter a number between 0 and 999: Hundreds = 1
Tens = 2
Ones = 3

Your quipu:
___
|
*
|
*
*
|
*
*
*
|


Would you like to make another quipu? [Y/N]:
Goodbye! does not contain Please enter a number between 0 and 999: Hundreds = 3
Tens = 4
Ones = 5

Your quipu:
___
|
*
*
*
|
*
*
*
*
|
*
*
*
*
*
|


Would you like to make another quipu? [Y/N]: Please enter a number between 0 and 999: Hundreds = 1
Tens = 2
Ones = 3

Your quipu:
___
|
*
|
*
*
|
*
*
*
|


Would you like to make another quipu? [Y/N]: ==] expected: [true] but was: [false]
at TestOutput.testOutputMatch(TestOutput.java:60)
JavaBot
JavaBot4w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?