Exemple #1
0
        public void ZachGirod_Matches_ZacharyGirod()
        {
            INicknameRepository nicknameRepo = new TestNicknameRepository();
            INameMatcher nameMatcher = new NameMatcher(nicknameRepo);

            //make sure zach girod matches zachary girod
            Assert.That(nameMatcher.AreNamesEqual("Zach Girod", "Zachary Girod"), Is.True);
            Assert.That(nameMatcher.AreNamesEqual("Zachary Girod", "Zach Girod"), Is.True);
        }
Exemple #2
0
        public void RichardJones_Matches_RickJones()
        {
            INicknameRepository nicknameRepo = new TestNicknameRepository();
            INameMatcher nameMatcher = new NameMatcher(nicknameRepo);

            //make sure zach girod matches zachary girod
            Assert.That(nameMatcher.AreNamesEqual("Richard Jones", "Rick Jones"), Is.True);
            Assert.That(nameMatcher.AreNamesEqual("Rick Jones", "Richard Jones"), Is.True);
        }