forked from fanruan/finekit
20 lines
497 B
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)); |
|
} |
|
} |