Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 63644014 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

extend testcase to check for digest value of tyres

parent 764c8874
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,13 @@ namespace TUGraz.VectoCore.Tests.Integration
foreach (var axleDeclarationInputData in dataProvider.JobInputData.Vehicle.Axles) {
Assert.AreEqual(axleDeclarationInputData.Tyre.CertificationNumber, reportWheels[i++].Value);
}
var digestWheels = manufacturerReport.XPathSelectElements("//*[local-name()='Axle']/*[local-name()='DigestValue']").ToArray();
Assert.NotNull(digestWheels);
Assert.AreEqual(2, digestWheels.Count());
foreach (var digestWheel in digestWheels) {
Assert.IsFalse(string.IsNullOrWhiteSpace(digestWheel.Value));
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment