public void should_get_char_return_number() { //act var res = new Encryptor().Convert("a"); //assert res.Should().BeEquivalentTo("1"); }
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); }
public void should_take_string_of_chars_return_nums() { var res = new Encryptor().Convert("abcd"); res.Should().BeEquivalentTo("1_2_3_4"); }