Triangle test