Exemplo n.º 1
0
        public void TestCaseSensitive()
        {
            Identify ident = new Identify(new string [] { "id1", "id2" });

            Assert.AreEqual(true, ident.AreYou("ID1"), "Should find id is in list");
        }
Exemplo n.º 2
0
        public void TestNotAreYou()
        {
            Identify ident = new Identify(new string [] { "id1", "id2" });

            Assert.AreEqual(false, ident.AreYou("id5"), "Should find id is not in list");
        }