示例#1
0
        public void ValueFormatCopyTo()
        {
            var target = new ValueFormat();

            m_ValueFormatGerman.CopyTo(target);

            Assert.AreEqual(target.DateFormat, "dd/MM/yyyy");
            Assert.AreEqual(target.DateSeparator, ".");
            Assert.AreEqual(target.DecimalSeparator, ",");
            Assert.AreEqual(target.False, "Falsch");
            Assert.AreEqual(target.GroupSeparator, ".");
            Assert.AreEqual(target.NumberFormat, "0.##");
            Assert.AreEqual(target.TimeSeparator, "-");
            Assert.AreEqual(target.True, "Wahr");
        }