Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void SetAppearance() { material = new Material(Color.Red); picture.SetAppearance(material); Assert.AreEqual(material, picture.Material); Assert.AreEqual(material.DefaultColor, picture.Color); }
[Test] public void SetAppearanceWithNullShouldReturn() { Assert.DoesNotThrow(() => picture.SetAppearance(null)); }
[Test] public void SetAppearanceWithoutInterpolationWithNullShouldReturn() { Assert.DoesNotThrow(() => picture.SetAppearanceWithoutInterpolation(null)); }
See Also