public void PointToJson() { var point = new FlotPoint(1, 2); string json = point.ToString(); Assert.AreEqual("[1,2]", json); }
public FlotSeries Add(FlotPoint point) { if (point != null) { _data.Add(point); } return(this); }
public void CanCreatePoint() { var point = new FlotPoint(1,2); Assert.AreEqual(1, point.X); Assert.AreEqual(2, point.Y); }