public void ToString_IsString() { var rect = MinMaxRect.FromCenterSize(new float2(1, 1), new float2(2, 2)); var actual = rect.ToString(); Assert.Equal("Min: (0, 0) Max: (2, 2)", actual); }
public void Max_Is2() { var rect = MinMaxRect.FromCenterSize(new float2(1, 1), new float2(2, 2)); var actual = rect.Max; Assert.Equal(new float2(2, 2), actual); }