Is accuracy = 1- test error rate

Apologies if this is a very obvious question, but I have been reading various posts and can’t seem to find a good confirmation. In the case of classification, is a classifier’s accuracy = 1- test error rate? I get that accuracy is $\frac{TP+TN}{P+N}$, but my question is how exactly are accuracy and test error rate related.

This is the same as 1 - the fraction of misclassified cases or 1 - the *error* (rate).