Update estimate

This commit is contained in:
2017-02-23 08:39:56 -05:00
parent 53c358a63a
commit 61cbc942c1
7 changed files with 6305 additions and 2 deletions
@@ -23,6 +23,17 @@ namespace LeafWeb.Core.Tests.Charter
Assert.That(curves.Count(),Is.EqualTo(1));
}
[Test]
public void Convert_Papaya()
{
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "Papaya_leafgascomparison.csv");
LeafGasComparison[] leafGasComparisons;
using (var parser = new LeafGasComparisonParser(fileInfo))
leafGasComparisons = parser.Parse();
var curves = CurveDataConverter.Convert(leafGasComparisons);
Assert.That(curves.Count(),Is.EqualTo(23));
}
[Test]
public void Convert_ThrowsExpectionWhenNotEnoughDataSets()