Example #1
0
    public void Set()
    {
        M_C m_C     = new M_C();
        var flatVar = new M_B <float>();

        m_C.Print("s", m_A: flatVar);
    }
        public void TestMethod4()
        {
            string   licenseplate = "as00912";
            DateTime date         = new DateTime(01 / 01 / 01);
            var      result       = new M_C(licenseplate, date);
            var      actualResult = result.VehicleType();

            Assert.AreEqual("M C", actualResult);
        }
        public void TestLicensePlate()
        {
            string   licenseplate = "as00912";
            DateTime date         = new DateTime(01 / 01 / 01);
            var      result       = new M_C(licenseplate, date);
            var      actualResult = result.Licenseplate;

            Assert.AreEqual(7, actualResult);
        }
        public void TestMethod3()
        {
            string   licenseplate = "as00912";
            DateTime date         = new DateTime(01 / 01 / 01);
            var      result       = new M_C(licenseplate, date);

            var actualResult = result.Price();

            Assert.AreEqual(125, actualResult);
        }