Skip to content

Commit

Permalink
removed doublings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Hernandez Acosta committed Mar 8, 2024
1 parent 793e9c2 commit e41f52e
Showing 1 changed file with 0 additions and 67 deletions.
67 changes: 0 additions & 67 deletions test/cross_sections.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,73 +124,6 @@ TESTPSDEF = TestImplementation.TestPhasespaceDef()
p_in_set_unphys_mix = TestImplementation._rand_in_momenta_failing_mix(
RNG, N_INCOMING, 2
)
p_in_set_unphys_all = TestImplementation._rand_in_momenta_failing_all(
RNG, N_INCOMING, 2
)
p_in_set_phys_invalid = TestImplementation._rand_momenta(RNG, N_INCOMING + 1, 2)
p_in_set_unphys_mix_invalid = TestImplementation._rand_in_momenta_failing_mix(
RNG, N_INCOMING + 1, 2
)
p_in_set_unphys_all_invalid = TestImplementation._rand_in_momenta_failing_all(
RNG, N_INCOMING + 1, 2
)

p_out_set_phys = TestImplementation._rand_momenta(RNG, N_OUTGOING, 2)
p_out_set_unphys_mix = TestImplementation._rand_out_momenta_failing_mix(
RNG, N_OUTGOING, 2
)
p_out_set_unphys_all = TestImplementation._rand_out_momenta_failing_all(
RNG, N_OUTGOING, 2
)
p_out_set_phys_invalid = TestImplementation._rand_momenta(RNG, N_OUTGOING + 1, 2)
p_out_set_unphys_mix_invalid = TestImplementation._rand_out_momenta_failing_mix(
RNG, N_OUTGOING + 1, 2
)
p_out_set_unphys_all_invalid = TestImplementation._rand_out_momenta_failing_all(
RNG, N_OUTGOING + 1, 2
)

p_in_all = (
p_in_phys,
p_in_unphys,
p_in_phys_invalid,
p_in_unphys_invalid,
p_in_set_phys,
p_in_set_unphys_mix,
p_in_set_unphys_all,
p_in_set_phys_invalid,
p_in_set_unphys_mix_invalid,
p_in_set_unphys_all_invalid,
)

p_out_all = (
p_out_phys,
p_out_phys_invalid,
p_out_unphys,
p_out_unphys_invalid,
p_out_set_phys,
p_out_set_unphys_mix,
p_out_set_unphys_all,
p_out_set_phys_invalid,
p_out_set_unphys_mix_invalid,
p_out_set_unphys_all_invalid,
)
# all combinations
p_combs = Iterators.product(p_in_all, p_out_all)

p_in_all_valid = (
p_in_phys, p_in_unphys, p_in_set_phys, p_in_set_unphys_mix, p_in_set_unphys_all
)

p_out_all_valid = (
p_out_phys, p_out_unphys, p_out_set_phys, p_out_set_unphys_mix, p_out_set_unphys_all
)

# all valid combinations
p_combs_valid = Iterators.product(p_in_all_valid, p_out_all_valid)

p_in_all_phys = (p_in_phys, p_in_set_phys)
p_out_all_phys = (p_out_phys, p_out_set_phys)

p_combs_phys = Iterators.product(p_in_all_phys, p_out_all_phys)

Expand Down

0 comments on commit e41f52e

Please sign in to comment.