Luis Romero 6 anni fa
parent
commit
acd21a0ef0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/test/java/Swap/SwapTest.java

+ 1
- 1
src/test/java/Swap/SwapTest.java Vedi File

@@ -9,7 +9,7 @@ import org.junit.Test;
9 9
 public class SwapTest {
10 10
     @Test
11 11
     public void testSwap() throws Exception {
12
-        Double[] result = Swap.swap(0,1, 1.5, 2,3);
12
+        Double[] result = Swap.swap(0,1, 1.5, 2.0, 3.0);
13 13
         Double[] expected = {2.0, 1.5, 3.0};
14 14
         Assert.assertArrayEquals(expected, result);
15 15
     }