mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 08:23:12 +00:00
d681933a44
pkmtests same namespace as others legalitytests assert that we check at least one file extract repo base path fetch method
15 lines
357 B
C#
15 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;
|
|
}
|
|
}
|
|
}
|