diff --git a/LeetCodeNet.Tests/G0201_0300/S0240_search_a_2d_matrix_ii/SolutionTest.cs b/LeetCodeNet.Tests/G0201_0300/S0240_search_a_2d_matrix_ii/SolutionTest.cs index 150943e..95a01d8 100644 --- a/LeetCodeNet.Tests/G0201_0300/S0240_search_a_2d_matrix_ii/SolutionTest.cs +++ b/LeetCodeNet.Tests/G0201_0300/S0240_search_a_2d_matrix_ii/SolutionTest.cs @@ -12,7 +12,7 @@ public void SearchMatrix() { new int[] {10, 13, 14, 17, 24}, new int[] {18, 21, 23, 26, 30} }; - Assert.Equal(true, new Solution().SearchMatrix(matrix, 5)); + Assert.True(new Solution().SearchMatrix(matrix, 5)); } [Fact] @@ -24,7 +24,7 @@ public void SearchMatrix2() { new int[] {10, 13, 14, 17, 24}, new int[] {18, 21, 23, 26, 30} }; - Assert.Equal(false, new Solution().SearchMatrix(matrix, 20)); + Assert.False(new Solution().SearchMatrix(matrix, 20)); } } }