Pull caliper and stick a fat screwdriver between the pads turn side ways. That will push the pistons back in. If they go back in easy that would mean there working.
Now put caliper back on bike pump lever several times so pads will touch rotors.
Now see what you come up with
When you have caliper off take a straight and check to see if rotor is flat
Please add your state and model of bike you have. Click user CP @ top of page and then far left click edit signature. Thanks