solution: /submissions/accepted/mzuenni-precision.cpp
#solution: /submissions/accepted/submission.py
version: 2025-12  # use this version of the generators framework

#test_group.yaml:
  # One or more of:
  # case_sensitive
  # space_change_sensitive
  # float_absolute_tolerance eps
  # float_relative_tolerance eps
  # float_tolerance eps
  #output_validator_args:

data:
  sample:
    data:
      - '':
          in: |
            2
            4 4
            0 4
          interaction: |
            <2
            >? 1 2
            <4.4721359550
            >? 2 1
            <4.4721359550
            >! 64
            >? 1 2
            <2.9814239700
            >? 1 1
            <2.8284271247
            >! 32
          in.download: {link: in}
          ans.download: |
            64
            32

  secret:
    data:
      - all-inbetween-angles: all-inbetween-angles.py {seed}

      - random: 
          generate: gen-random.py {seed} 10000 1 5000
          count: 20
      - random-small: gen-random.py {seed} 10000 1 10
      - random-large: gen-random.py {seed} 10000 4990 5000


      - axis-aligned: cardinal.py {seed} 1 5000 0
      - 45degree: cardinal.py {seed} 1 5000 1

  invalid_input:
    # Add invalid test cases to ensure that input_validators correctly rejects them.
    data:
      - epsilon:
          in: "1\n1.0000000000000000001 1\n"
      - epsilon:
          in: "1\n0.9999999999999999999 1\n"

  testing_tool_test:
    include:
      - "sample"
      - "secret"

  invalid_answer:
    # Add valid test cases with invalid answers to ensure that the answer_validators correctly rejects them.
    # (The output validator is also called with these)
    data: []
      #invalid_test_case_answer:
      #  in: "<valid input>"
      #  ans: "<invalid answer>"

  invalid_output:
    # Add valid test cases with answer and invalid team output to ensure that the output_validator correctly rejects them.
    data: []
      #invalid_test_case_output:
      #    in: "<valid input>"
      #    ans: "<valid answer>"
      #    out: "<invalid output>"

  valid_output:
    # Add valid test cases with answer and team output to ensure that the output_validator correctly accepts them.
    data: []
      #valid_test_case_output:
      #    in: "<valid input>"
      #    ans: "<valid answer>"
      #    out: "<valid output>"
