Skip to content

Commit

Permalink
Fix nullability of IGrid and implementors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixill committed Dec 13, 2024
1 parent a64b862 commit 01a70be
Show file tree
Hide file tree
Showing 6 changed files with 270 additions and 167 deletions.
10 changes: 5 additions & 5 deletions CSharp.Nixill.Test/src/GridTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ public void GridManipTest()
{
Grid<string> testingGrid = new Grid<string>();

testingGrid.AddColumn();
testingGrid.AddColumn();
testingGrid.AddColumn();
testingGrid.AddColumn(default(string));
testingGrid.AddColumn(default(string));
testingGrid.AddColumn(default(string));

Assert.AreEqual(0, testingGrid.Size);
Assert.AreEqual(0, testingGrid.Height);
Assert.AreEqual(3, testingGrid.Width);

testingGrid.AddRow();
testingGrid.AddRow();
testingGrid.AddRow(default(string));
testingGrid.AddRow(default(string));

Assert.AreEqual(6, testingGrid.Size);
Assert.AreEqual(2, testingGrid.Height);
Expand Down
Loading

0 comments on commit 01a70be

Please sign in to comment.