package org.springblade.mdm.machinefile.service; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springblade.core.tool.utils.Func; public class ReceiveFileCheckServiceTest { @Test public void testSplie(){ String[] arr = Func.split("LG",":"); Assertions.assertEquals(1, arr.length); arr = Func.split(null,":"); Assertions.assertEquals(0, arr.length); } }