yangys
2025-09-29 4c7296d45efe849dc70a3b2e2240c905481a91c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
    }
}