public void Should_return_null_if_pixel_infos_not_found() { var sut = new AssetMetadata(); Assert.Null(sut.GetPixelWidth()); Assert.Null(sut.GetPixelHeight()); }
public void Should_return_pixel_infos_if_found() { var sut = new AssetMetadata() .SetPixelWidth(800) .SetPixelHeight(600); Assert.Equal(800, sut.GetPixelWidth()); Assert.Equal(600, sut.GetPixelHeight()); }