public void CountWidthTest(int[] mas, int res) { BinaryTreeLink b = new BinaryTreeLink(); b.Init(mas); int nodes = b.Width(); Assert.AreEqual(res, nodes); }