Test the iron loss and copper loss in a transformer

If the new transformer, then it must have been tested at the manufacturer's automatic seccara. but

Microcontroller ATmega8535