Esempio n. 1
0
        public void DOUBLE_WhenDecimalSeparatorIsPeriod_ScriptsCorrectly()
        {
            setToItalianUsingCommaDecimalSeparator();

            double baseData = 1.5;
            object data     = baseData;

            Assert.AreEqual("1.5", FieldScripting.formatDouble(data), "we expect to have . as the decimal separator despite the set culture.");
        }