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); }
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); }