Exemplo n.º 1
0
 public void SerializeInterpString_SingleCharacter_ReplaceCorrectly()
 {
     Assert.Equal("$\"my {a} is cool\"", CSharpWriter.SerializeInterpString("my <a> is cool"));
 }
Exemplo n.º 2
0
 public void SerializeInterpString_Alone_ReplaceCorrectly()
 {
     Assert.Equal("$\"{value}\"", CSharpWriter.SerializeInterpString("<value>"));
 }
Exemplo n.º 3
0
 public void SerializeInterpString_Surrounded_ReplaceCorrectly()
 {
     Assert.Equal("$\"my {value} is cool\"", CSharpWriter.SerializeInterpString("my <value> is cool"));
 }