In the book "Gulliver's Travels", the laputans, scientists who live on a magnetically levitating island, discovered two moons of Mars. This was 150 years before we actually discovered Mars had moons.