Interaction between the solar wind and interstellar gas: A comparison between Monte Carlo and fluid approaches