Given a set of test cases, let t pos, f pos, t neg and f neg denote the number of
true positives, false positives, true negatives and false negatives generated. Let
pos and neg denote the actual number of positives and negatives (it is easy to see
that pos = t pos + f neg, and neg = f pos + t neg).