Commit 1c6a1509 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

fixed warnings

parent 39db14f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ int main() {
  bool results[] = { test_0(), test_1(), test_2(), test_3(), test_4(), test_5(), test_6(), test_7() };

  bool allPassed = true;
  for (int ii=0; ii<sizeof(results)/sizeof(results[0]);ii++) {
  for (size_t ii=0; ii<std::size(results);ii++) {
    cout << "Test of problem " << to_string(ii) << ": " << (results[ii] ? "passed" : "failed") << endl;
    allPassed &= results[ii];
  }