Edoardo Mortara took a hard-fought victory in the Formula 3 Macau Grand Prix, after triumphing in a race-long duel with Signature teammate Jean-Karl Vernay.