go into survival
and take a notch apple, eat it
and then take damage (five hits from cactus!!)
look at the hearts.
it displays 20 health (but not 10 red hearts but 9 red and 1 gold!!)
set up a scoreboard health to also note the health being at 20!
take one more damage and it will turn back red!