Beispiel #1
0
        public void Thema_04()
        {
            int    num      = Convert.ToInt32(TestContext.DataRow["numbers"]);
            int    key      = Convert.ToInt32(TestContext.DataRow["search"]);
            String expected = Convert.ToString(TestContext.DataRow["found"]);
            String actual   = exam.BinarySearch(num, key);

            Assert.AreEqual(expected, actual);
        }