MCPcopy Create free account
hub / github.com/erans/pgsqlite / main

Function main

benchmarks/test_array_benchmark_simple.py:76–98  ·  view source on GitHub ↗

Run all tests.

()

Source from the content-addressed store, hash-verified

74 return False
75
76def 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
100if __name__ == "__main__":
101 exit(main())

Callers 1

Calls 2

test_array_generationFunction · 0.85
test_sqlite_onlyFunction · 0.85

Tested by

no test coverage detected