using PHONY
implemented is triangle test.