Compute the number of successes and failures for each resource
given an R X R array of all-to-all integer test results where
R = set of resources
r[i][j] = 1 if the test from the ith resource to jth resource succeeds,
r[i][j] = 0 if test from the ith resource to jth resource fails,
r[i][j] = -1 if the result of the test from the ith resource to jth
resource is missing
The following rules will be used to count the number of successes and
failures:
1) if r[i][j] == 1, a success is added to resource i and resource j
2) if r[i][j] == 0, a failure is added to resource i if i == j or
r[k][j] == 1 where resource k != i and k != j or
it's the only result so far (i.e., if a resource is testing to itself
or if at least one other resource successfully tests to resource j or
it's the only result so far, then we assume the failure is
on resource i).
Search the given report summaries for those that match our test name
and create a R X R matrix of test results, where R is the set of
resources involved in the all-to-all test.