public void TestMethodLeavesTree(int[] array, int count) { Tree tree = new Tree(); tree.Init(array); Assert.AreEqual(count, tree.Leaves()); }