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.
30 lines
705 B
30 lines
705 B
package com.fanruan.api.util; |
|
|
|
import com.fanruan.api.Prepare; |
|
import org.junit.Assert; |
|
import org.junit.Test; |
|
|
|
/** |
|
* @author richie |
|
* @version 10.0 |
|
* Created by richie on 2019-08-09 |
|
*/ |
|
public class GeneralKitTest extends Prepare { |
|
|
|
@Test |
|
public void getMacAddress() throws Exception{ |
|
Assert.assertEquals(GeneralKit.getMacAddress(), com.fr.general.GeneralUtils.getMacAddress()); |
|
} |
|
|
|
@Test |
|
public void objectToString() { |
|
Integer s = new Integer(1); |
|
Assert.assertEquals(GeneralKit.objectToString(s),"1"); |
|
} |
|
|
|
@Test |
|
public void readBuildNO() { |
|
Assert.assertEquals(GeneralKit.readBuildNO(), com.fr.general.GeneralUtils.readBuildNO()); |
|
} |
|
|
|
} |