Janelle’s Screen
JCHJava Community | Help. Code. Learn.
•Created by Janelle’s Screen on 4/6/2025 in #java-help
Failed Formatted Test for Quipu program (CS 111)
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)
5 replies