public void IsBoomerang_1() { var solution = new _1037_ValidBoomerang(); var result = solution.IsBoomerang(new int[][] { new int[] { 1, 2 }, new int[] { 2, 3 }, new int[] { 3, 2 }, }); Assert.IsTrue(result); }
public void IsBoomerang_6() { var solution = new _1037_ValidBoomerang(); var result = solution.IsBoomerang(new int[][] { new int[] { 1, 0 }, new int[] { 0, 0 }, new int[] { 2, 0 }, }); Assert.IsFalse(result); }