コード例 #1
0
        public void NoMasDeUnaConsignacion()
        {
            var CDT = new CDTService(number: "101010", city: "valledupar", Termin: CDTService.SEMESTER);

            CDT.Consign(1000000, new DateComplex("01/01/2020"));
            var result = CDT.Consign(1000000, new DateComplex("01/01/2020"));

            Assert.AreEqual("Solo se puede realizar una consignacion", result);
        }
コード例 #2
0
        public void consignacionDeMenosDeUnMillon()
        {
            var CDT    = new CDTService(number: "101010", city: "valledupar", Termin: CDTService.SEMESTER);
            var result = CDT.Consign(900000, new DateComplex("01/01/2020"));

            Assert.AreEqual("Solo se acepta 1M como mínimo", result);
        }