Positive answer of the quadraticFormula method: failed.
org.opentest4j.AssertionFailedError: - This should return the value of b * b. e.g. 5 * 5 which equals 25 ==> expected: <25.0> but was: <0.0>
quadraticFormula method: Overall, the final function doesn’t give the right answer
org.opentest4j.AssertionFailedError: - This should return the value of b * b. e.g. 5 * 5 which equals 25 ==> expected: <25.0> but was: <0.0>
Error found in the squareRootAnswer Method; Square root is the opposite of squaring a number. There is a function in the maths library to square root: Math.sqrt(X).
org.opentest4j.MultipleFailuresError: Multiple Failures (3 failures)
org.opentest4j.AssertionFailedError: sqrt 16 = 4 ==> expected: <4.0> but was: <0.0>
org.opentest4j.AssertionFailedError: sqrt 64 = 8 ==> expected: <8.0> but was: <0.0>
org.opentest4j.AssertionFailedError: sqrt 100 = 10 ==> expected: <10.0> but was: <0.0>
Error found in the 4AC Method; Should return the value of 4 x the value of a x the value of c. The * is used to multiply numbers
org.opentest4j.MultipleFailuresError: Multiple Failures (2 failures)
org.opentest4j.AssertionFailedError: 4 * 1 * 1 = 4 ==> expected: <4.0> but was: <0.0>
org.opentest4j.AssertionFailedError: 4 * -1 * 1 ==> expected: <-4.0> but was: <0.0>
Error found in the squareOfB Method; should return number * number.
org.opentest4j.MultipleFailuresError: Multiple Failures (3 failures)
org.opentest4j.AssertionFailedError: expected: <10000.0> but was: <0.0>
org.opentest4j.AssertionFailedError: expected: <225.0> but was: <0.0>
org.opentest4j.AssertionFailedError: expected: <0.25> but was: <0.0>
Negative answer of the quadraticFormula method: failed.
org.opentest4j.AssertionFailedError: - This should return the value of b * b. e.g. 5 * 5 which equals 25 ==> expected: <25.0> but was: <0.0>
For Calculator 2, You have passed 0 out of 6 tests.