public static void then_should_convert_a_to_single_plus_sign() { // Arrange const char character = 'a'; // Act var convertedValue = CharacterConverter.ToColumnValues(character); // Assert Assert.That(convertedValue, Is.EqualTo(new[] { '+' })); }
public static void then_should_convert_j_to_plus_plus_dash_dash_asterisk_asterisk_asterisk_period_period_period() { // Arrange const char character = 'j'; // Act var convertedValue = CharacterConverter.ToColumnValues(character); // Assert Assert.That(convertedValue, Is.EqualTo( new[] { '+', '+', '-', '-', '*', '*', '*', '.', '.', '.' })); }