public void Should_return_null_if_focus_infos_not_found() { var sut = new AssetMetadata(); Assert.Null(sut.GetFocusX()); Assert.Null(sut.GetFocusY()); }
public void Should_return_focus_infos_if_found() { var sut = new AssetMetadata() .SetFocusX(.5f) .SetFocusY(.2f); Assert.Equal(.5f, sut.GetFocusX()); Assert.Equal(.2f, sut.GetFocusY()); }