Exemple #1
0
        public void Opdracht2a_TestMin2()
        {
            //Arrange
            IntTree tree = BuildTreeminus50to50();
            //Act
            int result = tree.Min();

            //Assert
            Assert.AreEqual(-50, result);
        }
Exemple #2
0
        public void Opdracht2a_TestMin1()
        {
            //Arrange
            IntTree tree = BuildTree1to10();
            //Act
            int result = tree.Min();

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