public void GetValueByNameMethodAE3 () { DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d }); Assert.AreEqual (1d, dp.GetValueByName (string.Empty), "A1"); }
public void GetValueByNameMethodAE4 () { DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d }); Assert.AreEqual (1d, dp.GetValueByName ("Y0"), "A1"); }
public void GetValueByNameMethod () { DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d }); Assert.AreEqual (1d, dp.GetValueByName ("X"), "A1"); Assert.AreEqual (2d, dp.GetValueByName ("Y"), "A2"); Assert.AreEqual (2d, dp.GetValueByName ("Y1"), "A3"); Assert.AreEqual (3d, dp.GetValueByName ("Y2"), "A4"); Assert.AreEqual (1d, dp.GetValueByName ("x"), "A5"); Assert.AreEqual (2d, dp.GetValueByName ("y"), "A6"); Assert.AreEqual (2d, dp.GetValueByName ("y1"), "A7"); Assert.AreEqual (3d, dp.GetValueByName ("y2"), "A8"); }