India Beat Bangladesh By 95 Runs In Warm-Up Match.
Dhoni hit 113 and Rahul 108 as India made 359-7 in Cardiff, before Kuldeep Yadav took 3-47 and Yuzvendra Chahal 3-55 to help bowl Bangladesh out for 264.
The games were not classed as one-day internationals because both sides were allowed to field more than 11 players.
Hosts England open the World Cup against South Africa at The Oval on Thursday.
Bangladesh play South Africa at The Oval on Sunday, and India face the Proteas on 5 June.