I'm fairly new to RPI and I'm looking for a way to check if my GPIO pins are faulty, I've tried pigpio test but it failed all my pins and I've seen that this test isn't viable for RPI 4. Later on I've tried to change status of pins by:
gpio mode <pin> output gpio write <pin> 1
and it did power up my fan (some of pins could only do a little tick of movement and got blocked, but it's a 5V fan, so I guess it is normal)
I don't know if the fact that when I manually switch gpio pins they work means that they are okay, because I don't know if there's a different "thing" the gpio pins are supposed to do.
Is there a way to test every pin on RPI4 then? I've tested manually like 5, because it was really tedious and all of them reacted the way I described before. If not, should I check anything other than powering up something with them?