We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15797b6 commit 68fe694Copy full SHA for 68fe694
src/test/java/com/thealgorithms/conversions/OctalToHexadecimalTest.java
@@ -1,14 +1,13 @@
1
package com.thealgorithms.conversions;
2
3
-import static org.junit.jupiter.api.Assertions.assertEquals;
4
-
+import org.junit.jupiter.api.Assertions;
5
import org.junit.jupiter.api.Test;
6
7
public class OctalToHexadecimalTest {
8
9
@Test
10
public void testOctalToHexadecimal() {
11
- assertEquals("1EA", OctalToHexadecimal.decimalToHex(OctalToHexadecimal.octToDec("752")));
12
- assertEquals("15E", OctalToHexadecimal.decimalToHex(OctalToHexadecimal.octToDec("536")));
+ Assertions.assertEquals("1EA", OctalToHexadecimal.decimalToHex(OctalToHexadecimal.octToDec("752")));
+ Assertions.assertEquals("15E", OctalToHexadecimal.decimalToHex(OctalToHexadecimal.octToDec("536")));
13
}
14
0 commit comments