public static void then_should_print_out_floating_map_of_a_for_input_1a() { // Arrange const string inputString = "1a"; var outputDevice = new StringOutputDevice(); var inputConverter = new InputConverter(outputDevice, inputString); // Act inputConverter.Convert(); // Assert Assert.That(outputDevice.Output, Is.EqualTo(" +")); }
public static void then_should_print_out_the_map_for_i() { // Arrange const string inputString = "i"; var outputDevice = new StringOutputDevice(); var inputConverter = new InputConverter(outputDevice, inputString); // Act inputConverter.Convert(); // Assert Assert.That(outputDevice.Output, Is.EqualTo("++--***..")); }