triangle valid? test passed