Example #1
0
 public void should_get_char_return_number()
 {
     //act
     var res = new Encryptor().Convert("a");
     //assert
     res.Should().BeEquivalentTo("1");
 }
Example #2
0
        public void should_get_char_return_number()
        {
            //act
            var res = new Encryptor().Convert("a");

            //assert
            res.Should().BeEquivalentTo("1");
        }
Example #3
0
 public void should_take_nums_and_convert_them_to_chars()
 {
     //arrange
     const string text = "1_2_3_4";
     const string expected = "abcd";
     //act
     var res = new Encryptor().Convert(text);
     //assert
     res.Should().BeEquivalentTo(expected);
 }
Example #4
0
        public void should_take_nums_and_convert_them_to_chars()
        {
            //arrange
            const string text     = "1_2_3_4";
            const string expected = "abcd";
            //act
            var res = new Encryptor().Convert(text);

            //assert
            res.Should().BeEquivalentTo(expected);
        }
Example #5
0
 public void should_take_string_of_chars_return_nums()
 {
     var res = new Encryptor().Convert("abcd");
     res.Should().BeEquivalentTo("1_2_3_4");
 }
Example #6
0
        public void should_take_string_of_chars_return_nums()
        {
            var res = new Encryptor().Convert("abcd");

            res.Should().BeEquivalentTo("1_2_3_4");
        }