public void ValidTest() { TextureSize textureSize = new TextureSize(16, 16); Size2 value = textureSize; Assert.AreEqual(value.Width, 16); Assert.AreEqual(value.Height, 16); }
public void ZeroWidthTest() { TextureSize textureSize = new TextureSize(0, 16); }
public void ZeroWidthSizeTest() { TextureSize textureSize = new TextureSize(new Size2(0, 16)); }
public void ZeroHeightTest() { TextureSize textureSize = new TextureSize(16, 0); }
public void ZeroHeightSizeTest() { TextureSize textureSize = new TextureSize(new Size2(16, 0)); }
public void TooLargeWidthTest() { TextureSize textureSize = new TextureSize(new Size2(0, 16385)); }
public void TooLargeHeightTest() { TextureSize textureSize = new TextureSize(new Size2(16385, 0)); }