Everyone is different, and (unfortunately) the only way to find out if you can do well on a test after studying while high is to try it. The results maybe disastrous though lol. But I will say that if you study while high, take the test high as well. Doesn't really make sense to study high...