LibHac/tests/LibHac.Tests/Common/TheoryDataCreator.cs

18 lines
331 B
C#
Raw Normal View History

2021-11-27 22:10:19 +01:00
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;
}
}