Example #1
0
        public void Input_a_should_get_n()
        {
            var rotTranslator = new RotTranslator();
            var result        = rotTranslator.Tanslate("a");

            Assert.AreEqual("n", result);
        }
Example #2
0
        public void Input_A1_2b_should_get_N1_2o()
        {
            var rotTranslator = new RotTranslator();
            var result        = rotTranslator.Tanslate("A1 2b");

            Assert.AreEqual("N1 2o", result);
        }
Example #3
0
        public void Input_case1()
        {
            var rotTranslator = new RotTranslator();
            var result        = rotTranslator.Tanslate("EBG13 rknzcyr.");

            Assert.AreEqual("ROT13 example.", result);
        }
Example #4
0
        public void Input_Ab_should_get_No()
        {
            var rotTranslator = new RotTranslator();
            var result        = rotTranslator.Tanslate("Ab");

            Assert.AreEqual("No", result);
        }