In practice
Check the picture with numbers
The cheapest "is it straight?" check is to compare the slopes as fractions or work out a·d − b·c. Zero means the three points are on one line. Any other whole number means a bend, and that number is exactly the area of the sliver that rearranging the pieces can "hide". For Curry's triangle it is 8 · 2 − 3 · 5 = 1.
Computational geometry, which drawing software is built on, checks whether three points lie on one line the same way: it computes the same expression a·d − b·c (called the orientation test) rather than looking at the picture. Try it by hand: from (0, 0) to (8, 3) and on to (13, 5): 8 · 2 − 3 · 5 = 1, so it is bent.