コード例 #1
0
        public void FromString_CorrectResult()
        {
            Rect2 rect = new Rect2(10, 20, 50, 30);

            string value = rect.ToString();

            Assert.Equal("X: 10, Y: 20, W: 50, H: 30", value);
        }