应付计费邮编和重算调整
This commit is contained in:
@@ -25,6 +25,17 @@ class PayZoneMatcherTest
|
||||
assertEquals("UK Mainland\n英国大陆", decision.getZoneName());
|
||||
}
|
||||
|
||||
@Test
|
||||
void ordinaryUkPostcodeIsMainlandAndNotARemoteZone()
|
||||
{
|
||||
PayZoneMatcher.Decision decision = PayZoneMatcher.resolve(ZONES, evriLines(), "KY4 0DN");
|
||||
assertNull(decision.getMessage());
|
||||
assertEquals("UK Mainland\n英国大陆", decision.getZoneName());
|
||||
PayZoneMatcher.Decision emptyBook = PayZoneMatcher.resolve(ZONES, List.of(), "KY4 0DN");
|
||||
assertNull(emptyBook.getMessage());
|
||||
assertEquals("UK Mainland\n英国大陆", emptyBook.getZoneName());
|
||||
}
|
||||
|
||||
@Test
|
||||
void northernIrelandAndHighlandsComeFromThePostcodeBook()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user