tests.bubble.test_params

Test the experimental jitclass-based parameter storage

Classes

class tests.bubble.test_params.TestParams(methodName='runTest')

Bases: TestCase

Test the experimental jitclass-based parameter storage

test_nuc_args()
test_params_with_nuc()
test_params_with_nuc_args()
test_params_with_nuc_args_numba()
test_params_without_nuc()
test_params_without_nuc_args_numba()

Calling jitclass constructor within jitted code without specifying all arguments fails. This is a known bug in Numba. This test will alert, when the bug is fixed. https://github.com/numba/numba/issues/4820

test_params_without_nuc_args_numba_nones()

Functions

tests.bubble.test_params.params_with_nuc_args_numba()
tests.bubble.test_params.params_without_nuc_args_numba()
tests.bubble.test_params.params_without_nuc_args_numba_nones()