public void TestFileName2() { string testPath2 = "test.nc"; string ExpectedName2 = "test.nc"; string newName2 = NCFile.GetFileNameFromPath(testPath2); Assert.AreEqual(ExpectedName2, newName2, "2"); }
public void TestFileName4() { string testPath4 = "45"; string ExpectedName4 = "45"; string newName4 = NCFile.GetFileNameFromPath(testPath4); Assert.AreEqual(ExpectedName4, newName4, "4"); }
public void TestFileName1() { string testPath1 = "M:\\4_ATTISTIBA\\II_BIM\\II-87\\0_Task\\NC_faili\\RG1D-3.nc"; string newName1 = NCFile.GetFileNameFromPath(testPath1); string ExpectedName1 = "RG1D-3.nc"; Assert.AreEqual(ExpectedName1, newName1, "1"); }
public void TestFileName3() { string testPath3 = ""; string ExpectedName3 = ""; string newName3 = NCFile.GetFileNameFromPath(testPath3); Assert.AreEqual(ExpectedName3, newName3, "3"); }