public void ImageWithSize() { Asserts.EnsureMountainLion(); var image = NSImage.ImageWithSize(new CGSize(50, 50), false, rect => { return(true); }); Assert.IsNotNull(image); }
public void SCNGeometrySource_FromDataTest() { Asserts.EnsureMountainLion(); #pragma warning disable 0219 SCNGeometrySource d = SCNGeometrySource.FromData(new NSData(), SCNGeometrySourceSemantic.Color, 1, false, 1, 1, 1, 1); foreach (SCNGeometrySourceSemantics s in Enum.GetValues(typeof(SCNGeometrySourceSemantics))) { if (!isValidEnumForPlatform(s)) { continue; } d = SCNGeometrySource.FromData(new NSData(), s, 1, false, 1, 1, 1, 1); } #pragma warning restore 0219 }
public void SCNGeometrySourceSemanticTest() { Asserts.EnsureMountainLion(); Assert.IsNotNull(SCNGeometrySourceSemantic.Color, "Color"); }