Brazilian President Jair Bolsonaro, speaking on social media while wearing a mask, said he was tested for the coronavirus and expects to have the result within hours.