MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / run_tests

Function run_tests

tests/test_mars_parallel.py:542–565  ·  view source on GitHub ↗

Run all MARS tests

()

Source from the content-addressed store, hash-verified

540
541
542def run_tests():
543 """Run all MARS tests"""
544 print("Running MARS comprehensive tests...")
545 print("=" * 80)
546
547 # Run unittest tests
548 suite = unittest.TestLoader().loadTestsFromTestCase(TestMARSParallel)
549 runner = unittest.TextTestRunner(verbosity=2)
550 result = runner.run(suite)
551
552 # Run additional function tests
553 try:
554 test_mars_agent_temperatures()
555 except Exception as e:
556 print(f"❌ Agent temperatures test failed: {e}")
557
558 print("=" * 60)
559
560 if result.wasSuccessful():
561 print("🎉 All MARS tests passed!")
562 return True
563 else:
564 print("❌ Some MARS tests failed")
565 return False
566
567
568if __name__ == "__main__":

Callers 1

Calls 1

Tested by

no test coverage detected