thinking about it there is an easy way to test if it's a resistor or a diode and that is using the diode test on a multi meter, one way it will read, the other way it wont.