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

            float  baseData = 1.5F;
            object data     = baseData;

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