public void TestUpdateKnownSpells() { // Arrange Sorcerer sorcerer = new Sorcerer("sorcerer"); int[,] spellsKnownSorcerer = new int[20, 10] { { 4, 2, 0, 0, 0, 0, 0, 0, 0, 0 }, { 5, 2, 0, 0, 0, 0, 0, 0, 0, 0 }, { 5, 3, 0, 0, 0, 0, 0, 0, 0, 0 }, { 6, 3, 1, 0, 0, 0, 0, 0, 0, 0 }, { 6, 4, 2, 0, 0, 0, 0, 0, 0, 0 }, { 7, 4, 2, 1, 0, 0, 0, 0, 0, 0 }, { 7, 5, 3, 2, 0, 0, 0, 0, 0, 0 }, { 8, 5, 3, 2, 1, 0, 0, 0, 0, 0 }, { 8, 5, 4, 3, 2, 0, 0, 0, 0, 0 }, { 9, 5, 4, 3, 2, 1, 0, 0, 0, 0 }, { 9, 5, 5, 4, 3, 2, 0, 0, 0, 0 }, { 9, 5, 5, 4, 3, 2, 1, 0, 0, 0 }, { 9, 5, 5, 4, 4, 3, 2, 0, 0, 0 }, { 9, 5, 5, 4, 4, 3, 2, 1, 0, 0 }, { 9, 5, 5, 4, 4, 4, 3, 2, 0, 0 }, { 9, 5, 5, 4, 4, 4, 3, 2, 1, 0 }, { 9, 5, 5, 4, 4, 4, 3, 3, 2, 0 }, { 9, 5, 5, 4, 4, 4, 3, 3, 2, 1 }, { 9, 5, 5, 4, 4, 4, 3, 3, 3, 2 }, { 9, 5, 5, 4, 4, 4, 3, 3, 3, 3 } }; try { // Act sorcerer.UpdateKnownSpells(); // Assert Assert.Equal(spellsKnownSorcerer, sorcerer.KnownSpells); } catch { } }