WELLINGTON, New Zealand (AP) — Kusal Mendis and Angelo Mathews compiled centuries and batted throughout the fourth day in an unbeaten 246-run partnership as Sri Lanka reduced the deficit against New Zealand in the first test on Tuesday. Mendis finished the day 116 not out, Mathews was 117 not out, and Sri Lanka was 259-3, having erased all but 37 runs of a 296-run deficit. Sri Lanka's first-innings total was 282, and New Zealand made 578 in reply. The twin centuries contributed to Sri Lanka's highest-ever fourth-wicket partnership against New Zealand, beating the previous best of 192, and were a coming of age for one player, and a redemption for the other. Mendis batted 287 minutes and faced 215 balls for his sixth test century which included 12 fours; Mathews took 342 minutes and needed 248 balls to reach his ninth with 11 fours. By stumps, the pair had shunted back the threat of defeat which seemed imminent at the start of play when Sri Lanka was 20-3. While the tourists still face a final day on which a minimum of 90 overs have to be bowled, giving New Zealand some hope yet of taking a 1-0 lead in the two-test series, the achievements of Mendis and Mathews on the fourth day have left the match more closely in the balance. The strong possibility of rain on Wednesday may further play into Sri Lanka's hands and frustrate the home side. The 23-year-old Mendis has long been one of Sri Lanka's brightest batting prospects.Read more on NewsOK.com