Add Order and OrderBook domains with test suites

This commit is contained in:
2026-10-01 11:38:06 +01:00
commit 9f7d4e6a4f
16 changed files with 493 additions and 0 deletions
@@ -0,0 +1,17 @@
using NUnit.Framework;
using OrderDomain;
namespace OrderTests;
public class OrderCompletionTests
{
[Test]
public void CompletedOrder_TotalIsCorrect()
{
var order = new Order();
order.AddLine(100m, 1);
order.Complete();
Assert.That(order.Total, Is.EqualTo(100m));
}
}