File tree 1 file changed +3
-3
lines changed
src/test/java/com/thealgorithms/maths
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ public class QuadraticEquationSolverTest {
7
7
private final QuadraticEquationSolver quadraticEquationSolver = new QuadraticEquationSolver ();
8
8
9
9
@ Test
10
- public void testSolveEquation_realRoots () {
10
+ public void testSolveEquationRealRoots () {
11
11
// 4.2x^2 + 8x + 1.9 = 0
12
12
double a = 4.2 ;
13
13
double b = 8 ;
@@ -22,7 +22,7 @@ public void testSolveEquation_realRoots() {
22
22
}
23
23
24
24
@ Test
25
- public void testSolveEquation_equalRoots () {
25
+ public void testSolveEquationEqualRoots () {
26
26
// x^2 + 2x + 1 = 0
27
27
double a = 1 ;
28
28
double b = 2 ;
@@ -34,7 +34,7 @@ public void testSolveEquation_equalRoots() {
34
34
}
35
35
36
36
@ Test
37
- public void testSolveEquation_imaginaryRoots () {
37
+ public void testSolveEquationComplexRoots () {
38
38
// 2.3x^2 + 4x + 5.6 = 0
39
39
double a = 2.3 ;
40
40
double b = 4 ;
You can’t perform that action at this time.
0 commit comments