public void NoStatementsDataTest(string filePath) { // Arrange var expectedMorphology = new List <string>(); var expectedRhytms = new List <string>(); // Act IStatements xmlStatementsParser = new XmlStatements(filePath); // Assert CollectionAssert.AreEqual(expectedMorphology, xmlStatementsParser.Morphology.ToList(), "Testing Morphology statements"); CollectionAssert.AreEqual(expectedRhytms, xmlStatementsParser.Rhythms.ToList(), "Testing Rhythms statements"); }
public void StatementsDataTest(string filePath) { // Arrange var expectedMorphology = new List <string> { "VCLVH - Left ventricular hypertrophy-amplit.crit.only", "BNECG - Borderline normal ECG" }; var expectedRhytms = new List <string> { "SR - Sinus rhythm" }; // Act IStatements xmlStatementsParser = new XmlStatements(filePath); // Assert CollectionAssert.AreEqual(expectedMorphology, xmlStatementsParser.Morphology.ToList(), "Testing Morphology statements"); CollectionAssert.AreEqual(expectedRhytms, xmlStatementsParser.Rhythms.ToList(), "Testing Rhythms statements"); }