French President Emmanuel Macron has tested positive for the coronavirus, the Elysee Palace announced.