Esempio n. 1
0
        public void SanitizeDecimalsTest()
        {
            santizier s = new santizier();
            string    v = s.Sanitize("5.67");

            Assert.AreEqual("5", v);
        }
Esempio n. 2
0
        public void SanitizeDecimals2Test()
        {
            santizier s = new santizier();
            string    v = s.Sanitize("5,001.97");

            Assert.AreEqual("5001", v);
        }
Esempio n. 3
0
        public void TestMethod3()
        {
            santizier s = new santizier();
            string    n = s.Sanitize("-1.00");

            Assert.AreEqual("1", n);
        }