mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 09:08:02 +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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|