mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 15:59:13 +00:00
16 lines
357 B
C#
16 lines
357 B
C#
|
using System.IO;
|
|||
|
|
|||
|
namespace PKHeX.Tests
|
|||
|
{
|
|||
|
internal static class TestUtil
|
|||
|
{
|
|||
|
public static string GetRepoPath()
|
|||
|
{
|
|||
|
var folder = Directory.GetCurrentDirectory();
|
|||
|
while (!folder.EndsWith(nameof(Tests)))
|
|||
|
folder = Directory.GetParent(folder).FullName;
|
|||
|
return folder;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|