public void TestEqualSizedCoreDataSetListsProduceXyListWithCorrectlyAssignedValues() { var points = new XyPointListBuilder( new List<CoreDataSet> { new CoreDataSet { Value = 1 } }, new List<CoreDataSet> { new CoreDataSet { Value = 2 } } ).XyPoints; var point = points.First(); Assert.AreEqual(1, point.X); Assert.AreEqual(2, point.Y); }
public void TestUnequalSizedCoreDataSetListsProduceEmptyPointsList() { var points = new XyPointListBuilder(new List<CoreDataSet>(), new List<CoreDataSet> { new CoreDataSet() }).XyPoints; Assert.AreEqual(0, points.Count); }
public void TestEmptyCoreDataSetAndIntListsProduceEmptyPointsList() { var points = new XyPointListBuilder(new List<int>(), new List<CoreDataSet>()).XyPoints; Assert.AreEqual(0, points.Count); }