"""
Test case generator for integer literals in the Stack Language.
Generates comprehensive test cases for all integer types and bases.
"""

from .base_tests import BaseTestGenerator

if __name__ == "__main__":
    import yaml

    # Generate tests
    tests = BaseTestGenerator.run_all_generators()
    # tests = []
    # tests += GeneralTestGenerator.generate_tests()
    # tests += IntegerTestGenerator.generate_tests()
    # tests += FloatTestGenerator.generate_tests()

    # Print summary
    print(f"Generated {len(tests)} test cases")

    # Save as YAML
    with open("cases.yaml", "w") as f:
        yaml.dump(tests, f, default_flow_style=False, sort_keys=False)
