public void TestAmbientWithCustomValues()
        {
            Action         action  = Action.Parse("create ambient 0.5 tag=foo");
            AmbientCommand ambient = action.Create.GetCommandOfType <AmbientCommand>();

            Assert.IsNotNull(ambient);
            Assert.AreEqual(0.5, ambient.Intensity);
            Assert.AreEqual("foo", ambient.Tag);
        }
        public void TestAmbientWithDefaultValues()
        {
            Action         action  = Action.Parse("create ambient");
            AmbientCommand ambient = action.Create.GetCommandOfType <AmbientCommand>();

            Assert.IsNotNull(ambient);
            Assert.AreEqual(1.0, ambient.Intensity);
            Assert.AreEqual(String.Empty, ambient.Tag);
        }