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

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

adding testcase to reproduce bug

parent a244b7c4
No related branches found
No related tags found
No related merge requests found
......@@ -450,6 +450,17 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
}
}
[TestMethod]
public void SegmentLookupTest()
{
//mock vehicleData
var segment = DeclarationData.Segments.Lookup(VehicleCategory.RigidTruck, AxleConfiguration.AxleConfig_4x2,
12000.SI<Kilogram>(), 0.SI<Kilogram>());
Assert.AreEqual(VehicleClass.Class2, segment.VehicleClass);
}
[TestMethod]
public void SegmentTest()
{
......
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