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 38eadd9 commit a1a2a84Copy full SHA for a1a2a84
src/test/java/com/thealgorithms/conversions/DecimalToHexaDecimalTest.java
@@ -0,0 +1,14 @@
1
+package com.thealgorithms.conversions;
2
+
3
+import static org.junit.jupiter.api.Assertions.*;
4
5
+import org.junit.jupiter.api.Test;
6
7
+public class DecimalToHexaDecimalTest {
8
9
+ @Test
10
+ public void testDecimalToHexaDecimal() {
11
+ assertEquals("000000be", DecimalToHexaDecimal.decToHex(190));
12
+ assertEquals("00000708", DecimalToHexaDecimal.decToHex(1800));
13
+ }
14
+}
0 commit comments