is there a way to test a a/c compressor off a car?

ah ok it makes sense. I wanted to test it because im swapping with a guy for a ac delete bracket + cash for my a/c system and he wanted me to make sure it worked