Skip to content
Snippets Groups Projects
Commit 9da90b8b authored by MEDEDJI Setondji's avatar MEDEDJI Setondji :speech_balloon:
Browse files

Rendu intermédiaire TP2

parent 772f82ee
Branches
No related tags found
No related merge requests found
......@@ -104,8 +104,11 @@ class ComplexTest {
@Test
void testZeroTrue() {
Complex z = new Complex(0.0F, 0.0F); // à supprimer si on mutualise avec BeforeAll
assertThat(!z.isZero()).as("problem with isZero on Zero Complex number")
assertThat(z.isZero()).as("problem with isZero on Zero Complex number")
.isTrue();
/*assertThat(!z.isZero()).as("problem with isZero on Zero Complex number") // à décommenter si on mutualise avec BeforeAll
.isTrue();*/
}
@Test
......@@ -177,7 +180,7 @@ class ComplexTest {
}
@Disabled
//@Disabled
@Test
final void testTimeoutInfinite() {
Complex.infinite();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment