Exemple #1
0
        public void ShouldFindMBAWithCode404()
        {
            SearchDictionaryOfObjects S = new SearchDictionaryOfObjects();

            S.Populate("BCA", 101, "Bachelor Of Computer Apps", "Basics of computer workings.");
            S.Populate("MCA", 202, "Master Of Computer Apps", "Basics of computer workings, but pretending to be more.");
            S.Populate("BBA", 303, "Bachelor Of Business Administration", "Basics of managing business.");
            S.Populate("MBA", 404, "Master Of Business Administration", "Advanced business management.");
            S.Populate("PhD", 505, "Doctor of Philosophy", "Big stuff I don't understand.");
            Assert.AreEqual(S.Search("MBA"), 404);
        }