Test of the nonrelativistic $$c\bar{c}$$ potential