Esempio n. 1
0
        public void ToStringTest()
        {
            Int32Rect r = new Int32Rect(1, 2, 3, 4);

            Assert.AreEqual("1,2,3,4", r.ToString());

            Assert.AreEqual("Empty", Int32Rect.Empty.ToString());
        }
Esempio n. 2
0
        public void ToStringTest()
        {
            Int32Rect r = new Int32Rect(1, 2, 3, 4);

            Assert.AreEqual("1,2,3,4", r.ToString(CultureInfo.InvariantCulture));

            Assert.AreEqual("Empty", Int32Rect.Empty.ToString());
        }