Transformer ohmmeter for winding resistance