public void GetAllCoefficientPonderationTest() { ICalibrageApp serviceCalibrageApp = UtilityTest.CreateInstanceService <ICalibrageApp>(); var result = serviceCalibrageApp.GetAllCoeffcientPonderations(); Assert.IsTrue(result != null); Assert.AreEqual(result.Count(), 40); }
public void GetNoteMaxPge_DesordreStructureMaconnerieBetonTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var resultOfService = hidalgoService.GetNotesMaxForAllDocumentPge_DesordreStructureMaconnerieBeton(EFamilleDesordre.Desordre_structure_Maçonnerie_Beton, ENatureCalibrage.Maçonnerie); //Assert Assert.AreEqual(resultOfService.Count(), 223); }
/// <summary> /// Méthode de test /// </summary> public void GetAllDocumentPgeForNatureTravauxEnduitTest() { //Arrang var calculService = UtilityTest.CreateInstanceService <ICalculServiceApp>(); var listeDocumentPge = calculService.GetAllDocumentPge(Data.Contract.Enum.ENatureCalibrage.Enduit); Assert.IsTrue(listeDocumentPge != null); Assert.AreEqual(listeDocumentPge.Count(), 109); }
public void GetNoteMaxPge_FissurationEnduitTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var resultOfService = hidalgoService.GetNotesMaxForAllDocumentPge_Fissuration(EFamilleDesordre.Fissurations, ENatureCalibrage.Enduit); //Assert Assert.AreEqual(resultOfService.Count(), 109); }
public void GetNoteMaxAllDocumentPge() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act //var resultOfService = hidalgoService.GetAllDocumentPge(); //Assert //Assert.AreEqual(resultOfService.Count(), 404); }
public void GetAllLignesAsync() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var resultOfService = hidalgoService.GetAllLignesAsync(); //Assert Assert.AreEqual(resultOfService.Result.Count(), 62); }
public void GetAllDocumentPgeEnduitTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var resultOfService = hidalgoService.GetAllDocumentPgeByNatureTravaux(ENatureCalibrage.Enduit); //Assert Assert.IsTrue(resultOfService != null); Assert.AreEqual(resultOfService.Count(), 37); }
public void GetAllTypeOuvrageTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var resultOfService = hidalgoService.GetAllTypeOuvrages(); //Assert Assert.IsTrue(resultOfService != null); Assert.AreEqual(resultOfService.Count(), 68); }
public void CalculCritereC2Test() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); var listeDocumentPge = hidalgoService.GetAllDocumentPgeByNatureTravaux(Data.Contract.Enum.ENatureCalibrage.Maçonnerie); //Act var resultOfService = hidalgoService.CalculCritereC2(this.GetOneProgrammationToTest(), listeDocumentPge); //Assert Assert.IsTrue(resultOfService != null); }
public void GetNoteMaxForAllDocumentPge_IgameRatpTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); var listeDocumentPge = hidalgoService.GetAllDocumentPgeByNatureTravaux(Data.Contract.Enum.ENatureCalibrage.Maçonnerie); //Act var resultOfService = hidalgoService.GetNoteMaxForAllDocumentPge_ImageRatp(ENatureCalibrage.Maçonnerie, listeDocumentPge); //Assert Assert.IsTrue(resultOfService != null); }
public void CalculPessimisteOptimisteTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); var listeDocumentPge = hidalgoService.GetAllDocumentPgeByNatureTravaux(Data.Contract.Enum.ENatureCalibrage.Maçonnerie); //Act hidalgoService.CalculPessimisteOptimiste(this.GetOneProgrammationToTest(), listeDocumentPge); //Assert: un fichier est généré Assert.IsTrue(true); }
public void EtapeCalcul2Test() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); //Act var result = hidalgoService.CalculEtape2(this.GetOneProgrammationToTest()); //Assert //TODO YAR: faut s'assurer que le fichier est générer, a cause de pression du temps, j'ai laissé ce traitement après Assert.IsTrue(result != null); }
public void GetNoteMaxForAllDocumentPge_TravauxConnexesTest() { //Arrang var hidalgoService = UtilityTest.CreateInstanceService <IHidalgoApp>(); var listeDocumentPge = hidalgoService.GetAllDocumentPgeByNatureTravaux(Data.Contract.Enum.ENatureCalibrage.Maçonnerie); //Act hidalgoService.CalculNotesParametresCritere4(this.GetOneProgrammationToTest(), listeDocumentPge); //Assert Assert.IsTrue(true); }