mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-29 23:42:34 +08:00
@ -1,13 +1,13 @@
|
||||
package com.thealgorithms.conversions;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class HexaDecimalToDecimalTest {
|
||||
|
||||
@Test
|
||||
public void testhexaDecimalToDecimal(){
|
||||
public void testhexaDecimalToDecimal() {
|
||||
assertEquals(161, HexaDecimalToDecimal.getHexaToDec("A1"));
|
||||
assertEquals(428, HexaDecimalToDecimal.getHexaToDec("1ac"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user