By Associated Press | Aug. 10, 2016, 8:26 p.m. (ET)
Kyrie Irving shoots over Andrew Bogut and Ryan Broekhoff of Australia in the men's preliminary round Group A game between Australia and the United States at the Rio 2016 Olympic Games at Carioca Arena 1 on Aug. 10, 2016 in Rio de Janeiro.

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.

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.

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.

Patty Mills scored 30 points for Australia.

Download the Team USA app today for breaking news, 2016 U.S. Olympic Team bios, videos and more.