mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-21 23:00:43 -08:00
11 lines
222 B
C#
11 lines
222 B
C#
using FsCheck;
|
|
|
|
namespace Reverse.Tests.Generators
|
|
{
|
|
public static class PositiveIntegerGenerator
|
|
{
|
|
public static Arbitrary<int> Generate() =>
|
|
Arb.Default.Int32().Filter(x => x > 0);
|
|
}
|
|
}
|