automatic test for Triangle.exe