예제 #1
0
        public void Should_return_null_if_focus_infos_not_found()
        {
            var sut = new AssetMetadata();

            Assert.Null(sut.GetFocusX());
            Assert.Null(sut.GetFocusY());
        }
예제 #2
0
        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());
        }