Replace old charting curves with new version
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
<Compile Include="FileUtility.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Parsers\LeafInputCsvParserTests.cs" />
|
||||
<Compile Include="Parsers\CurveDataListTests.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Parsers\LeafInputData\LeafInput-valid.csv">
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
using LeafWeb.Core.CharterOld;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace LeafWeb.Core.Tests.Parsers
|
||||
{
|
||||
[TestFixture]
|
||||
public class CurveDataListTests
|
||||
{
|
||||
private const string ContentDirectory = @"Parsers\LeafOutputData\";
|
||||
|
||||
[Test]
|
||||
public void Parse_Valid()
|
||||
{
|
||||
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "cntrlcomparison_Wild Capsicum.csv");
|
||||
var cntrlComparison = new CurveDataList();
|
||||
using (var reader = fileInfo.OpenText())
|
||||
{
|
||||
cntrlComparison.ReadFromStream(reader);
|
||||
}
|
||||
Assert.That(cntrlComparison.CurveData.Count, Is.EqualTo(7));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user