LibHac/tests/LibHac.Tests/Common/TheoryDataCreator.cs
2021-12-04 15:49:31 -07:00

18 lines
No EOL
331 B
C#

using Xunit;
namespace LibHac.Tests.Common;
public static class TheoryDataCreator
{
public static TheoryData<int> CreateSequence(int start, int count)
{
var data = new TheoryData<int>();
for (int i = 0; i < count; i++)
{
data.Add(start + i);
}
return data;
}
}