diff --git a/source/Trek-12/Tests/MapTests.cs b/source/Trek-12/Tests/MapTests.cs index 0a7f3cf..5257433 100644 --- a/source/Trek-12/Tests/MapTests.cs +++ b/source/Trek-12/Tests/MapTests.cs @@ -1,6 +1,34 @@ -namespace Tests; +using Models.Game; -public class MapTest +namespace Tests; + +public class MapTests { - -} \ No newline at end of file + [Fact] + public void Constructor_WithValidBackground_SetsBackgroundCorrectly() + { + var map = new Map("background"); + Assert.Equal("background", map.Background); + } + + [Fact] + public void Constructor_InitializesEmptyBoards() + { + var map = new Map("background"); + Assert.Empty(map.Boards); + } + + [Fact] + public void Constructor_InitializesEmptyOperationGrid() + { + var map = new Map("background"); + Assert.Empty(map.OperationGrid); + } + + [Fact] + public void Constructor_InitializesEmptyZones() + { + var map = new Map("background"); + Assert.Empty(map.Zones); + } +}