diff --git a/src/test/java/cluster/JobTest.java b/src/test/java/cluster/JobTest.java index 1b87f8360ee34b5627e9abf3e98cf73616de2d6d..2ff6fab4464c14958caf026f2d711a6b1e2e604e 100644 --- a/src/test/java/cluster/JobTest.java +++ b/src/test/java/cluster/JobTest.java @@ -5,7 +5,7 @@ import static org.junit.jupiter.api.Assertions.*; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; public class JobTest { - //TODO : décommenter pour tester la classe Job + //TODO : décommenter pour tester la méthode toString de la classe Job /* @Test void testToString(){ @@ -19,31 +19,6 @@ public class JobTest { String expectedStringRepresentation2 = "Job " + job2.getId() + " (10FLOP, 1o)"; assertThat(job2.toString()).isEqualTo(expectedStringRepresentation2); } - - @Test - void testResetJobCount(){ - Job.resetJobCount(); - Job job = new Job(10, 1000); - assertThat(job.getId()).isEqualTo(0); - } - - @Test - void testGetId(){ - int[] memories = {10, 1000}; - for(int memory : memories){ - Job job = new Job(memory, 1000); - assertThat(job.getMemory()).isEqualTo(memory); - } - } - - @Test - void testGetJobCount(){ - Job.resetJobCount(); - for(int jobCount = 1; jobCount < 4; jobCount++){ - Job job = new Job(10, 1000); - assertThat(Job.getJobCount()).isEqualTo(jobCount); - } - } */ }