You should check out this Arduino Simulator. It's very well done. I have an Arduino UNO board and had a sketch running to have a servo motor go back and forth at a speed determined by a potentiometer. Ran the sketch on the simulator and got the exact same results. Very nice and a lot less work.
https://www.sites.google.com/site/unoardusim/