@pytest.fixture
def disc_xrotation(solid_disk):
    'Disc rotated over x axis.'
    (mass, pos, vel) = solid_disk(N_part=1000)
    random = np.random.RandomState(seed=42)
    a = rot_matrix_xaxis(theta=((0.3 * np.pi) * random.random()))
    return (mass, (pos @ a), (vel @ a), a)
Disc rotated over x axis.
@pytest.fixture
def disc_xrotation(solid_disk):
    
    (mass, pos, vel) = solid_disk(N_part=1000)
    random = np.random.RandomState(seed=42)
    a = rot_matrix_xaxis(theta=((0.3 * np.pi) * random.random()))
    return (mass, (pos @ a), (vel @ a), a)