public void IsEr7Encoded_InvalidInput_ReturnsTrue() { // Arrange var input = "MSH|^~\\&|LABGL1||DMCRES||19951002185200||ADT^A01|LABGL1199510021852632|P|2.2\r" + "PID|||T12345||TEST^PATIENT^P||19601002|M||||||||||123456\r" + "PV1|||NER|||||||GSU||||||||E||||||||||||||||||||||||||19951002174900|19951006\r"; // Act / Assert Assert.IsTrue(EncodingDetector.IsEr7Encoded(input)); }
public void IsEr7Encoded_InvalidInput_ReturnsFalse(string input) { // Arrange / Act / Assert Assert.IsFalse(EncodingDetector.IsEr7Encoded(input)); }