LeetCodeSharp/LeetCodeSharp.Tests/P427Tests.cs

17 lines
298 B
C#
Raw Normal View History

2024-07-11 10:20:39 +08:00
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);
}
}