public void SetLightColor_Works() { var zlm = new ZLM(false, false, false); var zlmrpc = new ZLMRPC(zlm); var zone1 = zlm.AddFadeCandyZone("Zone1", PixelType.FadeCandyWS2812Pixel, 8, 1); zlmrpc.SetLightColor("Zone1", "Blue", 0, (float)0.5); var color = zlm.Zones["Zone1"].SortedLights[0].GetColor(); Assert.That(color.A, Is.EqualTo(255)); Assert.That(color.B, Is.EqualTo(127)); Assert.That(color.R, Is.EqualTo(0)); Assert.That(color.G, Is.EqualTo(0)); zlmrpc.Dispose(); }