Esempio n. 1
0
        public void Opdracht2b_TestMax2()
        {
            //Arrange
            IntTree tree = BuildTreeminus50to50();
            //Act
            int result = tree.Max();

            //Assert
            Assert.AreEqual(50, result);
        }
Esempio n. 2
0
        public void Opdracht2b_TestMax1()
        {
            //Arrange
            IntTree tree = BuildTree1to10();
            //Act
            int result = tree.Max();

            //Assert
            Assert.AreEqual(10, result);
        }