public void next_reg_no_after_march_in_2050()
        {
            //arrange - setup
            UKRegNosHandler regHandler = new UKRegNosHandler();
            String          initValue  = "50";
            String          expValue   = "00";

            // act
            String result = regHandler.nextRegCode(initValue);

            // assert
            //Assert.AreEqual(expValue, result);
        }
Exemple #2
0
        public string next_reg_no_after_september_with_table(string init)
        {
            //arrange - setup
            UKRegNosHandler regHandler = new UKRegNosHandler();
            String          initValue  = init;
            //String expValue = exp;

            // act
            String result = regHandler.nextRegCode(initValue);

            // assert
            return(result);
        }
        public void next_reg_no_after_september_in_noughties()
        {
            //arrange - setup
            UKRegNosHandler regHandler = new UKRegNosHandler();
            String          initValue  = "51";
            String          expValue   = "02";

            // act
            String result = regHandler.nextRegCode(initValue);

            // assert
            Assert.AreEqual(expValue, result);
        }
Exemple #4
0
        public void next_reg_no_after_march(string init, string exp)
        {
            //arrange - setup
            UKRegNosHandler regHandler = new UKRegNosHandler();
            String          initValue  = init;
            String          expValue   = exp;

            // act
            String result = regHandler.nextRegCode(initValue);

            // assert
            Assert.AreEqual(expValue, result);
        }