Skip to content

Commit faa841f

Browse files
committed
Format test
1 parent 10060f0 commit faa841f

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

tema1_2_ejer3/src/test/java/es/codeurjc/test/complex/ComplexAbsTest.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ public void absoluteTest(Complex complex, double result) {
1919
}
2020

2121
public static Collection<Object[]> values() {
22-
Object[][] data = {
23-
{ new Complex(0,0),0 },
24-
{ new Complex(1,1),1.41421},
25-
{ new Complex(2,2),2.82843},
26-
{ new Complex(5,5),7.07107},
27-
{ new Complex(10,10),14.1421},
28-
{ new Complex(10,1),10.0498},
29-
{ new Complex(20,2),20.099}
30-
};
22+
23+
Object[][] data = {
24+
{ new Complex(0,0) ,0 },
25+
{ new Complex(1,1) ,1.41421 },
26+
{ new Complex(2,2) ,2.82843 },
27+
{ new Complex(5,5) ,7.07107 },
28+
{ new Complex(10,10),14.1421 },
29+
{ new Complex(10,1) ,10.0498 },
30+
{ new Complex(20,2) ,20.099 }
31+
};
3132

3233
return Arrays.asList(data);
3334
}

0 commit comments

Comments
 (0)