test num is positive or negative