コード例 #1
0
 public void InitPlateNumberTest()
 {
     string plate = "AB123323239";
     PlateNumber plateNumber = new PlateNumber(plate);
     Assert.AreEqual(9, plateNumber.LastNumber);
     Assert.AreEqual(plate, plateNumber.Plate);
 }
コード例 #2
0
 public void InitPlateNumberTest_ShouldThrowException()
 {
     string plate = "AB12332323A";
     PlateNumber plateNumber = new PlateNumber(plate);
 }