Namespace: DeltaEngine.Content.Tests
Assembly: DeltaEngine.Content.Tests (in DeltaEngine.Content.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Content.Tests (in DeltaEngine.Content.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void FillImageWithColor() { var imageCreationData = new ImageCreationData(new Size(12, 12)); var image = ContentLoader.Create<MockImage>(imageCreationData); image.Fill(Color.Blue); image.CallCompareActualSizeMetadataSizeMethod(new Size(12, 12)); // For some reason LogWarningIfTheActualSizeIsDifferentFromTheMetadataPixelSize does not cover image.CallCompareActualSizeMetadataSizeMethod(new Size(16, 16)); }
See Also