插件开发工具库,推荐依赖该工具库。
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

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));
}
}