public void IndentPassedToConstructor() { codeBuilder = new PythonCodeBuilder(2); codeBuilder.AppendIndented("abc"); Assert.AreEqual("\t\tabc", codeBuilder.ToString()); }
public void AppendIndentedText() { codeBuilder.IncreaseIndent(); codeBuilder.AppendIndented("abc"); Assert.AreEqual("\tabc", codeBuilder.ToString()); }