Fix additional tests.
This commit is contained in:
parent
ba07293385
commit
e190e85b89
@ -153,7 +153,7 @@ namespace Tests.Importer.ZaaImporter
|
|||||||
|
|
||||||
[TestCase("Albumin (SU)/die: 149.9 [<= 30] mg/d; ", Material.SU)]
|
[TestCase("Albumin (SU)/die: 149.9 [<= 30] mg/d; ", Material.SU)]
|
||||||
[TestCase("Gesamt-Eiweiss/Creatinin (PU): 281 [<= 70] mg/g Crea;", Material.U)]
|
[TestCase("Gesamt-Eiweiss/Creatinin (PU): 281 [<= 70] mg/g Crea;", Material.U)]
|
||||||
[TestCase("Cystatin C (N Latex): 2.37 [0.57 - 0.96] mg/l; ", Material.B)]
|
[TestCase("Cystatin C (N Latex): 2.37 [0.57 - 0.96] mg/l; ", Material.S)]
|
||||||
public void ParseLaurisMaterial(string laurisString, Material expectedMaterial)
|
public void ParseLaurisMaterial(string laurisString, Material expectedMaterial)
|
||||||
{
|
{
|
||||||
LaurisItem i = new LaurisItem(laurisString);
|
LaurisItem i = new LaurisItem(laurisString);
|
||||||
|
@ -206,12 +206,13 @@ namespace zaaReloaded2.LabModel
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (Material == LabModel.Material.B)
|
switch (Material)
|
||||||
{
|
{
|
||||||
|
case Material.S:
|
||||||
|
case Material.E:
|
||||||
|
case Material.B:
|
||||||
return Name;
|
return Name;
|
||||||
}
|
default:
|
||||||
else
|
|
||||||
{
|
|
||||||
return String.Format("{0}-{1}", Material.ToString(), Name);
|
return String.Format("{0}-{1}", Material.ToString(), Name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user