To help you get the most out of your mac!
Learn how to use the Apple Hardware Test (AHT) diagnostic software with the iMac (Mid 2007) and later computers. Note: The iMac (Mid 2007) and later model computers come with Apple Hardware Test installed on a separate hard drive partition.
See original here:
Apple Hardware Test: iMac (Mid 2007) and later models
The outside of the box said "Windows base machine or better", so I bought a Mac.