Reorganize tests by API and service concerns

This commit is contained in:
2026-02-24 23:46:47 +01:00
parent 885121723d
commit 50f56fdab7
20 changed files with 897 additions and 799 deletions

View File

@@ -0,0 +1,17 @@
using RpgRoller.Services;
namespace RpgRoller.Tests;
public sealed class RandomDiceRollerTests
{
[Fact]
public void RandomDiceRoller_ProducesValueWithinRange()
{
var roller = new RandomDiceRoller();
for (var i = 0; i < 64; i += 1)
{
var value = roller.Roll(12);
Assert.InRange(value, 1, 12);
}
}
}