Bruce.Deng
5 years ago
3 changed files with 40 additions and 3 deletions
@ -0,0 +1,20 @@
|
||||
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)); |
||||
} |
||||
} |
Loading…
Reference in new issue