public void Light_Constructor_Creates_White_Light() { var location = new Point(150.0f, 200.0f, -100.0f); var light = new TestLight(location); Assert.AreEqual(System.Drawing.Color.White, light.Colour); }
public void Light_Constructor_Stores_Location() { var location = new Point(150.0f, 200.0f, -100.0f); var light = new TestLight(location); Assert.AreEqual(location, light.Location); }
public void Light_Constructor_Creates_New_Object() { var location = new Point(150.0f, 200.0f, -100.0f); var light = new TestLight(location); Assert.IsNotNull(light); }