ap music theory?

im thinking of doing ap music theory for my art credit. ive done piano for several years, and my teacher recommended i buy some of the cm (piano test) theory books and start learning them if i decide to take ap music theory. for those of you who have taken ap music theory and are familiar with the cm theory books, do they help at all?