Microsoft interview question

How will you test a triangle making program