Fix LaurisTimePoint test.
This commit is contained in:
parent
29ffd7caab
commit
c43b0af1e3
@ -32,7 +32,7 @@ namespace Tests.Importer.ZaaImporter
|
||||
public void ParseValidLaurisTimePoint()
|
||||
{
|
||||
LaurisTimePoint tp = new LaurisTimePoint(
|
||||
"[22.10.2013 12:30:00]" + Environment.NewLine +
|
||||
"(22.10.2013 12:30:00)" + Environment.NewLine +
|
||||
"Klinische Chemie: Natrium: 139 [135 - 145] mmol/l; Kalium: 5.2 [3.5 - 5] mmol/l;");
|
||||
Assert.IsTrue(tp.IsValidTimePoint);
|
||||
}
|
||||
@ -44,7 +44,7 @@ namespace Tests.Importer.ZaaImporter
|
||||
Assert.IsFalse(tp.IsValidTimePoint,
|
||||
"Bogus paragraph should be invalid LaurisTimePoint");
|
||||
|
||||
tp.LaurisText = "[22.10.2013 12:30:00]";
|
||||
tp.LaurisText = "(22.10.2013 12:30:00)";
|
||||
Assert.IsFalse(tp.IsValidTimePoint,
|
||||
"LaurisTimePoint should be invalid if it consists of time stamp only.");
|
||||
|
||||
@ -54,7 +54,7 @@ namespace Tests.Importer.ZaaImporter
|
||||
public void ParseLaurisTimePointWithDuplicateItems()
|
||||
{
|
||||
LaurisTimePoint tp = new LaurisTimePoint(
|
||||
"[22.10.2013 12:30:00]" + Environment.NewLine +
|
||||
"(22.10.2013 12:30:00)" + Environment.NewLine +
|
||||
"Klinische Chemie: Natrium: 139 [135 - 145] mmol/l; Kalium: 5.2 [3.5 - 5] mmol/l;" + Environment.NewLine +
|
||||
"Klinische Chemie: Natrium: 142 [135 - 145] mmol/l; Kalium: 3.7 [3.5 - 5] mmol/l;"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user