~maddevelopers/mg5amcnlo/2.9.4

« back to all changes in this revision

Viewing changes to tests/unit_tests/various/test_4fermion_models.py

pass to v2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
################################################################################
2
2
#
3
 
# Copyright (c) 2009 The MadGraph Development team and Contributors
 
3
# Copyright (c) 2009 The MadGraph5_aMC@NLO Development team and Contributors
4
4
#
5
 
# This file is a part of the MadGraph 5 project, an application which 
 
5
# This file is a part of the MadGraph5_aMC@NLO project, an application which 
6
6
# automatically generates Feynman diagrams and matrix elements for arbitrary
7
7
# high-energy processes in the Standard Model and beyond.
8
8
#
9
 
# It is subject to the MadGraph license which should accompany this 
 
9
# It is subject to the MadGraph5_aMC@NLO license which should accompany this 
10
10
# distribution.
11
11
#
12
 
# For more information, please visit: http://madgraph.phys.ucl.ac.be
 
12
# For more information, visit madgraph.phys.ucl.ac.be and amcatnlo.web.cern.ch
13
13
#
14
14
################################################################################
15
15
"""Unit tests for four-fermion models."""
67
67
                                           'model':base_model})
68
68
 
69
69
            evaluator = process_checks.MatrixElementEvaluator(base_model,
70
 
                                                              reuse = False)
 
70
                                                                  reuse = False)
71
71
            evaluator.full_model = full_model
72
72
            
73
73
            if not p:
179
179
                  group_subprocs.SubProcessGroup.group_amplitudes(amplitudes)[0]
180
180
 
181
181
        symmetry, perms, ident_perms = diagram_symmetry.find_symmetry(\
182
 
                                                subproc_group)
 
182
                                                                  subproc_group)
183
183
 
184
184
        self.assertEqual(len([s for s in symmetry if s > 0]), 1)
185
185