Exemplo n.º 1
0
        public void TestStringService_GetT9Code()
        {
            ILetterMappingRepository letterMappingRepository = new LetterMappingRepository();
            ISettingsRepository      settingsRepository      = new SettingsRepository();
            IStringService           stringService           = new StringService();
            string output = stringService.GetT9Code(letterMappingRepository.Get(),
                                                    "hello world", false, settingsRepository.GetSmallInputLengthConstraint());

            Assert.IsTrue(output == "4433555 555666096667775553");
        }