} catch (java.lang.RuntimeException e) {
errorCount = try_failure(errorCount, "normF()...",
"incorrect norm calculation");
}
try {
check(A.trace(), sumofdiagonals);
try_success("trace()...", "");
} catch (java.lang.RuntimeException e) {
errorCount = try_failure(errorCount, "trace()...",
"incorrect trace calculation");
}