add printTriangle test