Module diskchef.tests.chemistry.test_wb
Expand source code
import pytest
from diskchef.chemistry.williams_best_co import ChemistryWB2014
from diskchef.physics.williams_best import WilliamsBest2014
@pytest.fixture
def wb():
physics = WilliamsBest2014(radial_bins=5, vertical_bins=5)
chemistry = ChemistryWB2014(physics)
return chemistry
def test_wb_chem(wb):
wb.run_chemistry()
Functions
def test_wb_chem(wb)
-
Expand source code
def test_wb_chem(wb): wb.run_chemistry()
def wb()
-
Expand source code
@pytest.fixture def wb(): physics = WilliamsBest2014(radial_bins=5, vertical_bins=5) chemistry = ChemistryWB2014(physics) return chemistry