RIO DE JANEIRO (CBS SF) — Carmelo Anthony and Kyrie Irving had the answers in the first test for the U.S. Olympic men’s basketball team.

Anthony scored 31 points on the night he became the U.S. men’s Olympic career scoring leader, combining with Irving for all of the Americans’ baskets in the fourth quarter of a 98-88 victory over Australia on Monday night.

READ MORE: First U.S. Case Of COVID Omicron Variant Confirmed In San Francisco

Kevin Durant capped off the scoring with two free throws, making him the only other player than Irving or Anthony to score in the period.

READ MORE: Trevor Noah To Host 'The 64th Annual GRAMMY Awards' On CBS

Irving — born in Australia — added 19 points, including a 3-pointer with 1:35 left after Australia had closed within four.

A U.S. team that had won its first two games without breaking a sweat trailed early in the fourth quarter before Anthony hit a flurry of 3-pointers to put the Americans on top.

MORE NEWS: 'Video Music Box' Founder, Hip Hop Influencer Ralph McDaniels Shares His Journey In New Showtime Documentary: 'This Music Is Really Powerful'

Patty Mills scored 30 points for Australia.