Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

correcting error in testcase after refactoring

parent a4ba5592
No related branches found
No related tags found
No related merge requests found
......@@ -132,8 +132,8 @@ namespace TUGraz.VectoCore.Tests.Integration
var fcVolumePerMeter = modContainer.FuelData.FuelDensity == null ? null :
(fcFinal / modContainer.FuelData.FuelDensity)
.Cast<VolumePerMeter>();
var co2PerMeter = distance == null ? null : fcFinal / modContainer.FuelData.CO2PerFuelWeight / distance;
var energyPerMeter = distance == null ? null : fcFinal * modContainer.FuelData.LowerHeatingValueVecto / distance;
var co2PerMeter = distance == null ? null : fcFinal * modContainer.FuelData.CO2PerFuelWeight;
var energyPerMeter = distance == null ? null : fcFinal * modContainer.FuelData.LowerHeatingValueVecto;
// Console.WriteLine("FC-Map g/m: {0}, FC-Final g/m {1}, FC-Final l/100km: {2}, CO2 g/m: {3}, Energy J/m: {4}",
Console.WriteLine("{0}, {1}, {2}, {3}, {4}",
......
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