  We perform numerical simulations of a disc-planet system using various
grid-based and smoothed particle hydrodynamics (SPH) codes. The tests are run
for a simple setup where Jupiter and Neptune mass planets on a circular orbit
open a gap in a protoplanetary disc during a few hundred orbital periods. We
compare the surface density contours, potential vorticity and smoothed radial
profiles at several times. The disc mass and gravitational torque time
evolution are analyzed with high temporal resolution. There is overall
consistency between the codes. The density profiles agree within about 5% for
the Eulerian simulations while the SPH results predict the correct shape of the
gap although have less resolution in the low density regions and weaker
planetary wakes. The disc masses after 200 orbital periods agree within 10%.
The spread is larger in the tidal torques acting on the planet which agree
within a factor 2 at the end of the simulation. In the Neptune case the
dispersion in the torques is greater than for Jupiter, possibly owing to the
contribution from the not completely cleared region close to the planet.
