A train 1 km. long travels through a tunnel 1 km. long at a rate of 1 km. per hour. How long will it take he train to pass completely through the tunnel?