コード例 #1
0
 public void SerializeInterpString_SingleCharacter_ReplaceCorrectly()
 {
     Assert.Equal("$\"my {a} is cool\"", CSharpWriter.SerializeInterpString("my <a> is cool"));
 }
コード例 #2
0
 public void SerializeInterpString_Alone_ReplaceCorrectly()
 {
     Assert.Equal("$\"{value}\"", CSharpWriter.SerializeInterpString("<value>"));
 }
コード例 #3
0
 public void SerializeInterpString_Surrounded_ReplaceCorrectly()
 {
     Assert.Equal("$\"my {value} is cool\"", CSharpWriter.SerializeInterpString("my <value> is cool"));
 }