Shiranui did similarly and he thought about what kind of Pokémon he'd face. He knew he'd be facing Steel-type Pokémon but that was the extent of his knowledge on the gym.