Sri Lanka 282 (Mathews 83, Dickwella 80*, Karunaratne 79, Southee 6-68) and 259 for 3 (Mathews 117*, Mendis 116, Southee 2-36) trail New Zealand 578 (Latham 264*, Williamson 91, Taylor 50, Nicholls 50, Kumara 4-127) by 37 runs
Wellington: Former captain Angelo Mathews continued his role as saviour on Sri Lanka's tour of New Zealand as he and Kusal Mendis struck unbeaten hundreds to thwart the host's push for victory on the fourth day of the first test at the Basin Reserve on Tuesday.
Mathews was on 117, while Mendis was 116 not out as they took their side to 259 for three at stumps, having batted together all day and created Sri Lanka's highest partnership for any wicket against New Zealand with a marathon 246-run stand.
It was the first time in test cricket that a full day's play had been completed without a wicket falling since the first day of the second match between South Africa and Bangladesh on Feb. 29, 2008.
The pair's stubborn resistance could prove to be match-saving with rain forecast for the final day on Wednesday.
They had resumed at 20 for three, needing another 276 runs to even make New Zealand bat again, after Tom Latham's maiden double century of 264 not out had powered the hosts to a massive first innings total of 578.
They frustrated New Zealand's bowlers, who resorted to a short-pitched attack early on, changed to a fuller length towards lunch, then virtually shut down the scoring during the middle session with Ajaz Patel shoring up one end.
Nothing, however, worked against Mendis and Mathews, who were untroubled on a pitch offering little in the way of sideways seam movement, although left-arm spinner Patel got the occasional delivery to bite and bounce.
Mendis was the more fluent with some memorable drives down the ground before he brought up his sixth test century shortly after tea when he pulled a short delivery from Neil Wagner fine for his 12th boundary.
Mathews achieved his ninth century about an hour before stumps when he drove Colin de Grandhomme through midwicket for his 11th boundary.