diff options
| author | Li Zhineng <[email protected]> | 2025-05-14 13:29:34 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2025-05-14 13:29:34 +0800 |
| commit | a5fa39f0e8c9b9522e6c59c869857a1dff455da4 (patch) | |
| tree | 168a95c6a204b55c89587452589c898f3b553cc9 | |
| parent | 665c8bc91124aff065b37e7767acf35e538198f9 (diff) | |
| download | vehicle-license-china-a5fa39f0e8c9b9522e6c59c869857a1dff455da4.tar.gz vehicle-license-china-a5fa39f0e8c9b9522e6c59c869857a1dff455da4.zip | |
improve test cases
| -rw-r--r-- | tests/RegistrationNumberTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/RegistrationNumberTest.php b/tests/RegistrationNumberTest.php index 7829027..a6cbbd8 100644 --- a/tests/RegistrationNumberTest.php +++ b/tests/RegistrationNumberTest.php @@ -190,6 +190,8 @@ final class RegistrationNumberTest extends TestCase { $this->assertTrue(RegistrationNumber::make('粤ED12345')->isCleanEnergy()); $this->assertFalse(RegistrationNumber::make('粤ED1234')->isCleanEnergy()); + $this->assertFalse(RegistrationNumber::make('粤Z1234港')->isCleanEnergy()); + $this->assertFalse(RegistrationNumber::make('224578使')->isCleanEnergy()); } public function test_is_battery_electric_determines_if_small_vehicle_is_a_fully_electric_vehicle(): void |
