public void ConvertFloatArrayToDashes_Should_Return_Dashes_String() { var dashes = new float[] { 2.0f, 2.0f, 0.0f, 2.0f, 0.0f, 2.0f }; var expected = "2 2 0 2 0 2"; var target = BaseStyle.ConvertFloatArrayToDashes(dashes); Assert.Equal(expected, target); }
public void ConvertFloatArrayToDashes_Should_Not_Throw() { var target = BaseStyle.ConvertFloatArrayToDashes(null); Assert.Null(target); }