|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
/* FormatterTest.cs |
|
|
|
|
* part of zaaReloaded2 |
|
|
|
|
* |
|
|
|
|
* Copyright 2015 Daniel Kraus |
|
|
|
|
* Copyright 2015-2017 Daniel Kraus |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -123,7 +123,7 @@ namespace Tests.Formatter |
|
|
|
|
{ |
|
|
|
|
ZaaImporter importer = new ZaaImporter(); |
|
|
|
|
importer.Import( |
|
|
|
|
"(17.09.2015 10:44:00) Cyclosporin-A vor Gabe: 130 µg/l; CK gesamt: 123 [<= 170] U/l; Cholesterin: 211"); |
|
|
|
|
"(17.09.2015-201710:44:00) Cyclosporin-A vor Gabe: 130 µg/l; CK gesamt: 123 [<= 170] U/l; Cholesterin: 211"); |
|
|
|
|
Document document = new Document(); |
|
|
|
|
f.Formatter formatter = new f.Formatter(document); |
|
|
|
|
formatter.Laboratory = importer.Laboratory; |
|
|
|
@ -131,7 +131,7 @@ namespace Tests.Formatter |
|
|
|
|
new List<ElementBase>() { new Items("CsA (C0) \"(Ziel-Talspiegel: <> µg/l)\"") }); |
|
|
|
|
formatter.Run(); |
|
|
|
|
Assert.AreEqual( |
|
|
|
|
"Laborwerte vom 17.09.2015 10:44:00:\rCsA (C0) 130 µg/l\r\r", |
|
|
|
|
"Laborwerte vom 17.09.2015-201710:44:00:\rCsA (C0) 130 µg/l\r\r", |
|
|
|
|
document.Range().Text); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|