Ways:
1. Use geometric scale
2. Divide it in parts and calculate every part's slope. All slopes must be equal for the line to be straight.
3. Fold the line from anywhere at around centre and overlap and check it in light, whether the sublines coinincides properly.
Anyone knows any other approach...? Do improve the answer..