20240711 Finished
This commit is contained in:
17
LeetCodeSharp.Tests/P427Tests.cs
Normal file
17
LeetCodeSharp.Tests/P427Tests.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace LeetCodeSharp.Tests;
|
||||
|
||||
using LeetCodeSharp.Problems427;
|
||||
|
||||
public class P427Tests
|
||||
{
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
int[][] grid = [[0, 1], [1, 0]];
|
||||
|
||||
Solution solution = new();
|
||||
Node root = solution.Construct(grid);
|
||||
|
||||
Assert.False(root.isLeaf);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user