What is the correct procedure to verify the squareness of a rectangular building layout?

What is the correct procedure to verify the squareness of a rectangular building layout?