Run all tests.
()
| 74 | return False |
| 75 | |
| 76 | def main(): |
| 77 | """Run all tests.""" |
| 78 | print("🚀 Array Binary Protocol Benchmark - Component Tests") |
| 79 | print("=" * 60) |
| 80 | |
| 81 | all_passed = True |
| 82 | |
| 83 | # Test array generation |
| 84 | all_passed &= test_array_generation() |
| 85 | |
| 86 | # Test SQLite benchmarking |
| 87 | all_passed &= test_sqlite_only() |
| 88 | |
| 89 | print("\n" + "=" * 60) |
| 90 | if all_passed: |
| 91 | print("🎉 All component tests passed!") |
| 92 | print("\nTo run the full benchmark with pgsqlite server:") |
| 93 | print(" ./run_array_benchmark.sh --iterations 10") |
| 94 | else: |
| 95 | print("❌ Some tests failed!") |
| 96 | return 1 |
| 97 | |
| 98 | return 0 |
| 99 | |
| 100 | if __name__ == "__main__": |
| 101 | exit(main()) |
no test coverage detected