How do you know if voting machines are accurate?

With Election Day just around the corner, some voters are wondering how accurate are voting machines.