Beispiel #1
0
        public void TestGetChkDigit()
        {
            var testSubject = new Vin
            {
                Wmi = new WorldManufacturerId {
                    Country = '1', RegionMaker = '1', VehicleType = '1'
                },
                Vds = new VehicleDescription {
                    Four = '1', Five = '1', Six = '1', Seven = '1', Eight = '1'
                },
                Vis = new VehicleIdSection {
                    ModelYear = '1', PlantCode = '1', SequentialNumber = "111111"
                }
            };

            var testREsult = testSubject.GetCheckDigit();

            Assert.AreEqual('1', testREsult);
        }