Skip to content

Commit

Permalink
use relative path in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-el-sayed committed Aug 29, 2024
1 parent b479d0a commit 29d80bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/UGridNET/test/src/UGridNETTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using NUnit.Framework;
using System;
using System.IO;


[TestFixture]
Expand All @@ -9,7 +10,11 @@ public class UGridNETTests
public void TestMesh1DReadAndInquire()
{
// open
const string file_path = "C:\\Users\\sayed\\work\\repositories\\UGrid\\tests\\data\\AllUGridEntities.nc";
//const string file_path = "C:\\Users\\sayed\\work\\repositories\\UGrid\\tests\\data\\AllUGridEntities.nc";
const string file_path = "..\\..\\..\\..\\..\\tests\\data\\AllUGridEntities.nc";
Console.WriteLine(Path.GetFullPath(file_path));

//const string file_path = "AllUGridEntities.nc";

int result = -1;

Expand Down

0 comments on commit 29d80bf

Please sign in to comment.