Replace CntrlComparison with LeafGasComparison
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using LeafWeb.Core.Entities;
|
||||
using LeafWeb.Core.Parsers;
|
||||
using LeafWeb.Core.Utility;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace LeafWeb.Core.Tests.Parsers
|
||||
{
|
||||
[TestFixture]
|
||||
public class LeafGasComparisonParserTests
|
||||
{
|
||||
private const string ContentDirectory = @"Parsers\LeafOutputData\";
|
||||
|
||||
[Test]
|
||||
public void Parse_Valid()
|
||||
{
|
||||
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "leafgascomparison.csv");
|
||||
|
||||
LeafGasComparison[] leafGasComparisons;
|
||||
using (var parser = new LeafGasComparisonParser(fileInfo))
|
||||
leafGasComparisons = parser.Parse();
|
||||
|
||||
Assert.That(leafGasComparisons.Length, Is.EqualTo(6));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user