~maddevelopers/mg5amcnlo/2.5.5_NLOandLOmerging

« back to all changes in this revision

Viewing changes to tests/unit_tests/interface/test_edit_card.py

  • Committer: olivier Mattelaer
  • Date: 2017-11-26 16:35:21 UTC
  • mfrom: (271.1.38 2.6.1_bk)
  • Revision ID: olivier.mattelaer@uclouvain.be-20171126163521-2q5otmkxwluwsp68
merge with latest 2.6.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
        self.cmd.do_set('run_card ptj default')        
425
425
        self.assertEqual(run['ptj'], ptj)
426
426
        
427
 
        run.list_parameter.add('ptj')
 
427
        run.list_parameter['ptj'] = float
428
428
        self.cmd.do_set('ptj 100, 300')
429
429
        self.assertEqual(run['ptj'], [100, 300])
430
430
        self.cmd.do_set('ptj 100  200.1')
539
539
        self.cmd.do_set('JetMatching:nJetMax 2')
540
540
        self.assertEqual(py8['JetMatching:qCut'], qcut)
541
541
        self.assertEqual(py8['JetMatching:nJetMax'], 2)
542
 
        
 
 
b'\\ No newline at end of file'
 
542