Skip to content

Commit 6a587bf

Browse files
authored
Update tests.md
1 parent 281e4eb commit 6a587bf

File tree

1 file changed

+22
-4
lines changed
  • python_examples/hl_lhc_collisions_python/checks_and_doc

1 file changed

+22
-4
lines changed

python_examples/hl_lhc_collisions_python/checks_and_doc/tests.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,28 @@ In the folder ```checks_and_doc```:
6060
Configure ```t004_compare_xline_lines.py``` for the test:
6161
```python
6262
# Test b1
63-
path_test = '../'
64-
type_test = 'sixtrack'
65-
path_ref = '../../examples/hl_lhc_collision'
66-
type_ref = 'sixtrack
63+
tests = [
64+
{
65+
'test_name': 'B1 - pymask sixtrack input vs madx mask',
66+
'path_test': '../',
67+
'type_test': 'sixtrack',
68+
'path_ref': '../../../examples/hl_lhc_collision',
69+
'type_ref': 'sixtrack',
70+
'rtol': 3e-5,
71+
'atol': 1e-12,
72+
'strict': False,
73+
},
74+
{
75+
'test_name': 'B1 - pymask xline vs pymask sixtrack input',
76+
'path_test': '../xline/line_bb_dipole_not_cancelled.json',
77+
'type_test': 'xline',
78+
'path_ref': '../',
79+
'type_ref': 'sixtrack',
80+
'rtol': 4e-7,
81+
'atol': 1e-100,
82+
'strict': True,
83+
}
84+
]
6785
```
6886

6987
Check using xline lines:

0 commit comments

Comments
 (0)