How to test a switch

Everything is disassembled and out off the car. Thanks for the info.