Surface roughness detector and electronic digital display spring tension and compression testing machine