17 lines
298 B
C#
17 lines
298 B
C#
|
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);
|
||
|
}
|
||
|
}
|