11 lines
303 B
Plaintext
Executable File
11 lines
303 B
Plaintext
Executable File
# serializer version: 1
|
|
# name: test_dipoles_from_json_string
|
|
list([
|
|
DipoleTO(p=[0, 0, 1000], s=[-1.5, 0.0, 3.5], w=0.11),
|
|
DipoleTO(p=[1000, 5050, 1234], s=[-66, 323, 431], w=220),
|
|
])
|
|
# ---
|
|
# name: test_parse_one_dipole_happy_path
|
|
DipoleTO(p=[150, 15.0, -21], s=[1.5, 0, 1], w=1513)
|
|
# ---
|