Make ItemsTest work with preferred precisions.

This commit is contained in:
Daniel Kraus 2015-08-29 02:06:10 +02:00
parent efeab3f70b
commit efbff88b1a
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ namespace Tests.Controller.Elements
StripMarkup( StripMarkup(
TimePointFormatter.DateAndTimeHeader(new DateTime(2015, 07, 13, 13, 31, 00)) TimePointFormatter.DateAndTimeHeader(new DateTime(2015, 07, 13, 13, 31, 00))
)+ )+
"Klinische Chemie: Na 133, SU-Protein 2,8\r\r").Replace(Environment.NewLine, "\r"); "Klinische Chemie: Na 133, SU-Protein 3\r\r").Replace(Environment.NewLine, "\r");
Assert.AreEqual(expected, _document.Range().Text); Assert.AreEqual(expected, _document.Range().Text);
} }
@ -176,7 +176,7 @@ namespace Tests.Controller.Elements
StripMarkup( StripMarkup(
TimePointFormatter.DateAndTimeHeader(new DateTime(2015, 07, 13, 13, 31, 00)) TimePointFormatter.DateAndTimeHeader(new DateTime(2015, 07, 13, 13, 31, 00))
) + ) +
"Klinische Chemie: Na 133, SU-Protein 2,8, Cl 110, U-Na 99\r\r") "Klinische Chemie: Na 133, SU-Protein 3, Cl 110, U-Na 99\r\r")
.Replace(Environment.NewLine, "\r"); .Replace(Environment.NewLine, "\r");
Assert.AreEqual(expected, _document.Range().Text); Assert.AreEqual(expected, _document.Range().Text);
} }