public void TestDiffuseWithDefaultValues()
        {
            Action         action  = Action.Parse("create diffuse");
            DiffuseCommand diffuse = action.Create.GetCommandOfType <DiffuseCommand>();

            Assert.IsNotNull(diffuse);
            Assert.AreEqual(0.5, diffuse.Intensity);
            Assert.AreEqual(String.Empty, diffuse.Tag);
        }
        public void TestDiffuseWithCustomValues()
        {
            Action         action  = Action.Parse("create diffuse 1.0 tag=foo");
            DiffuseCommand diffuse = action.Create.GetCommandOfType <DiffuseCommand>();

            Assert.IsNotNull(diffuse);
            Assert.AreEqual(1.0, diffuse.Intensity);
            Assert.AreEqual("foo", diffuse.Tag);
        }