using AutoFixture; using FluentAssertions; using Gameboard.ShogiUI.Sockets.Models; using Gameboard.ShogiUI.Sockets.Utilities; using Xunit; namespace Gameboard.ShogiUI.xUnitTests { public class CoordsToNotationCollectionShould { private readonly Fixture fixture; private readonly CoordsToNotationCollection collection; public CoordsToNotationCollectionShould() { fixture = new Fixture(); collection = new CoordsToNotationCollection(); } [Fact] public void TranslateCoordinatesToNotation() { // Arrange collection[0, 0] = fixture.Create(); collection[4, 4] = fixture.Create(); collection[8, 8] = fixture.Create(); collection[2, 2] = fixture.Create(); // Assert collection["A1"].Should().BeSameAs(collection[0, 0]); collection["E5"].Should().BeSameAs(collection[4, 4]); collection["I9"].Should().BeSameAs(collection[8, 8]); collection["C3"].Should().BeSameAs(collection[2, 2]); } [Fact] public void Yep() { } } }