forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
497 B
20 lines
497 B
6 years ago
|
package com.fanruan.api.report;
|
||
|
|
||
|
import com.fr.stable.unit.FU;
|
||
|
import org.junit.Assert;
|
||
|
import org.junit.Test;
|
||
|
|
||
|
public class UnitKitTest {
|
||
|
|
||
|
@Test
|
||
|
public void unit4CompatibleInchDV() {
|
||
|
String str1 = "100";
|
||
|
Assert.assertEquals(UnitKit.unit4CompatibleInchDV(str1), FU.getInstance(365760000));
|
||
|
}
|
||
|
|
||
|
@Test
|
||
|
public void unit4CompatibleMMDV() {
|
||
|
String str1 = "100";
|
||
|
Assert.assertEquals(UnitKit.unit4CompatibleMMDV(str1), FU.getInstance(14400000));
|
||
|
}
|
||
|
}
|