After days of resistance, President Donald Trump says that he has been tested for the coronavirus as the White House stepped up precautions after his direct and indirect exposures to Covid-19.

President Trump also told reporters at a White House briefing that he had his temperature taken before stepping into the room, and it was “totally normal”.

The president had held out on testing for days, despite his interactions with at least three people who have since tested positive.

READ MORE: Coronavirus: Italy reports 21,000 cases as Covid-19 infection rises by 20% in one day 

President Trump had said Friday that he would probably take the test at some point, but the White House doctor said as recently as Friday night that no test was called for because he was not exhibiting symptoms.

But the president said he had gone ahead with it after repeated questions from reporters at a news conference on Friday.

On Saturday, the White House announced that it is now conducting temperature checks on anyone who is in close contact with President Trump and Vice President Mike Pence, including reporters attending the Saturday White House briefing.

The move is being taken as a precaution in response to the coronavirus outbreak, said Judd Deere, a White House spokesman.

President Trump has had multiple direct and indirect contacts with people who have tested positive for the pandemic virus last weekend at his Mar-a-Lago club on Florida.

On Friday, he declared a state of emergency as schools and workplaces across the country shuttered, flights cancelled and Americans braced for war against the health threat.

The Brazilian Embassy in Washington said late on Friday that the country’s charge d’affaires, Nestor Forster, tested positive after sitting at President Trump’s dinner table.

President Trump has been known to flout public health advice — and was eagerly shaking hands during an event on Friday. On Saturday, he said that he continued to do so out of habit.

READ MORE: Coronavirus: US adds UK and Ireland to European travel ban 

A representative from the White House physician’s office took the temperature of members of the media who were at the White House on Saturday, going around and putting the device to their heads.

A reporter with a suspected elevated temperature was not allowed in.

Mr Pence’s spokeswoman, Katie Miller, tweeted that according to the White House Medical Unit, the reporter’s temperature was taken three times over 15 minutes all three registered above the 100.4-degree guidelines.

Public health officials say that people with a cough and elevated temperatures of 100.4 degrees or higher are deemed concerning.