Here is the scenario.
You place a room 12X12X12 an body of mass that exerts a gravitational pull of exactly 1 m/s2. This room is completely enclosed containing gravity experts and access to all current technologies.
You place another room with the exact same conditions on a spaceship accelerating at exactly 1 m/s2.
Assuming ideal conditions, would the scientist be able to determine if they are on a body of mass or if they are in a spaceship that is accelerating?