fini ex 1 du transition

This commit is contained in:
2024-09-12 15:19:28 +02:00
parent 0f828b31cf
commit 6e4a3d85d0
29 changed files with 876 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class TestLargest {
@Test
public void testSimple() {
assertEquals(9, Largest.largest(new int[] {9,8,7}));
}
@Test
public void testSansListe() {
Largest.largest(new int[] {});
}
}