Teenager Lhuan-dre Pretorius fell narrowly short of his maiden century, laying the foundation for the home team's victory.