Simple triangle polygon test