/* Public Methods << */
public void testTransform() {
SimpleIndentTransform t = new SimpleIndentTransform();
String good1
= TextualTransform.NEWLINE+"for( foo ) {"
+ TextualTransform.NEWLINE+" print bar;"
+ TextualTransform.NEWLINE+"}"
+ TextualTransform.NEWLINE
;
String bad1
= TextualTransform.NEWLINE+"for( foo ) {"
+ TextualTransform.NEWLINE+"print bar;"
+ TextualTransform.NEWLINE+"}"
;
assertTrue( good1.equals( t.transform( bad1 ) ) );
}