Ejemplo n.º 1
0
 public override void Write(TextWriter writer)
 {
     writer.Write(InstructionType.AsPrefixString());
     writer.Write(Key);
     if (Value != null)
     {
         writer.Write("=");
         writer.Write(Value);
     }
     LineEnding.WriteTo(writer);
 }
Ejemplo n.º 2
0
 public void When_ValidEnum(InstructionType instructionType, string expectedOutput)
 {
     Assert.That(instructionType.AsPrefixString(), Is.EqualTo(expectedOutput));
 }