public void TestExceptionNonExtention() { var root = @"C:\abc\test"; var file = @"C:\abc\test\ulf\ab"; Assert.AreEqual("ulf.ab", IntentNameConverter.GetEntryName(file, root)); }
public void TestMethod3() { var root = @"C:\abc\test"; var file = @"C:\abc\test\ulf\ab\ulf\ab.md"; Assert.AreEqual("ulf.ab.ulf.ab", IntentNameConverter.GetEntryName(file, root)); }