public void Properties() { var fog = new GLKEffectPropertyFog(); Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); fog = new GLKBaseEffect().Fog; Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); }
public void Properties() { TestRuntime.AssertSystemVersion(PlatformName.MacOSX, 10, 8, throwIfOtherPlatform: false); var fog = new GLKEffectPropertyFog(); Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); fog = new GLKBaseEffect().Fog; Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); }
public void Properties() { TestRuntime.AssertSystemVersion(ApplePlatform.MacOSX, 10, 8, throwIfOtherPlatform: false); var fog = new GLKEffectPropertyFog(); #if NET Assert.That(fog.Color.ToString(), Is.EqualTo("<0, 0, 0, 0>"), "Color"); #else Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); #endif fog = new GLKBaseEffect().Fog; #if NET Assert.That(fog.Color.ToString(), Is.EqualTo("<0, 0, 0, 0>"), "Color"); #else Assert.That(fog.Color.ToString(), Is.EqualTo("(0, 0, 0, 0)"), "Color"); #endif }