This is something that's easy to verify in-game yourself, either by using Trick to give a type-resist berry to a weak wild Pokemon (if they're at least 70 levels lower than you, your move will have 100% accuracy), or by attacking your own teammate, who you've specifically set up with the berry, in a double battle.