public void Color4FromString_0_IsBlack() { var testInput = "(0,0,0)"; var expected = Color4.Black; var result = S2VXUtils.StringToColor4(testInput); Assert.AreEqual(expected, result); }
public void Color4FromString_1_IsWhite() { var testInput = "(1,1,1)"; var expected = Color4.White; var result = S2VXUtils.StringToColor4(testInput); Assert.AreEqual(expected, result); }
public static HoldApproachesColorCommand FromString(string[] split) { var command = new HoldApproachesColorCommand() { StartValue = S2VXUtils.StringToColor4(split[2]), EndValue = S2VXUtils.StringToColor4(split[4]), }; return(command); }
public static NotesOutlineColorCommand FromString(string[] split) { var command = new NotesOutlineColorCommand() { StartValue = S2VXUtils.StringToColor4(split[2]), EndValue = S2VXUtils.StringToColor4(split[4]), }; return(command); }
public static BackgroundColorCommand FromString(string[] split) { var command = new BackgroundColorCommand() { StartValue = S2VXUtils.StringToColor4(split[2]), EndValue = S2VXUtils.StringToColor4(split[4]), }; return(command); }