~madnklo/mg5amcnlo/MadNkLO_plottingHwU

« back to all changes in this revision

Viewing changes to tests/unit_tests/core/test_subtraction.py

  • Committer: Valentin Hirschi
  • Date: 2018-07-26 23:45:22 UTC
  • mfrom: (532.1.14 MadNkLO)
  • Revision ID: valentin.hirschi@gmail.com-20180726234522-02pgezfljl9u4mui
1. Merged with latest version of MadNkLO trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
            sub.SubtractionLeg(5, 21, FINAL)
197
197
        ))
198
198
        sub_1 = sub.CollStructure(
 
199
            sub.SubtractionLeg(1,  1, INITIAL),
 
200
            sub.SubtractionLeg(4, 21, FINAL) )
 
201
        sub_2 = sub.SoftStructure(
 
202
            sub.SubtractionLeg(14, 2, FINAL),
 
203
            sub.SubtractionLeg(11, -2, FINAL) )
 
204
        sub_3 = sub.CollStructure(
199
205
            sub.SubtractionLeg(1,   1, INITIAL),
200
206
            sub.SubtractionLeg(4,  21, FINAL),
201
207
            sub.SubtractionLeg(5,  21, FINAL),
202
208
            sub.SubtractionLeg(14,  2, FINAL),
203
209
            sub.SubtractionLeg(11, -2, FINAL) )
204
 
        sub_2 = sub.CollStructure(
205
 
            sub.SubtractionLeg(1,  1, INITIAL),
206
 
            sub.SubtractionLeg(4, 21, FINAL) )
207
 
        sub_3 = sub.SoftStructure(
208
 
            sub.SubtractionLeg(14, 2, FINAL),
209
 
            sub.SubtractionLeg(11, -2, FINAL) )
210
210
        dec = a_structure.decompose()
211
 
        ben = {sub_1, sub_2, sub_3}
 
211
        ben = [sub_1, sub_2, sub_3]
212
212
        self.assertEqual(dec, ben)
213
213
 
214
214
    def test_count_unresolved(self):