Esempio n. 1
0
        public void TestGetExt()
        {
            var p = new MyPath("/test/file.txt");

            Assert.AreEqual("txt", p.GetExt());
            p = new MyPath("/test/folder");
            Assert.AreEqual("", p.GetExt());
            p = new MyPath("/test.is.over");
            Assert.AreEqual("over", p.GetExt());
        }