public void ConvertDoubleArrayToDashes_Should_Return_Dashes_String() { var dashes = new double[] { 2.0, 2.0, 0.0, 2.0, 0.0, 2.0 }; var expected = "2 2 0 2 0 2"; var target = BaseStyle.ConvertDoubleArrayToDashes(dashes); Assert.Equal(expected, target); }
public void ConvertDoubleArrayToDashes_Should_Not_Throw() { var target = BaseStyle.ConvertDoubleArrayToDashes(null); Assert.Null(target); }