add plate

This commit is contained in:
Looly
2020-03-10 16:59:51 +08:00
parent ec0b247933
commit ae5f8c0efe
3 changed files with 25 additions and 2 deletions

View File

@@ -130,4 +130,9 @@ public class ValidatorTest {
general = Validator.isGeneral(str, -1, 100);
Assert.assertFalse(general);
}
@Test
public void isPlateNumberTest(){
Assert.assertTrue(Validator.isPlateNumber("粤BA03205"));
}
}