tests.bubble.test_vplusminus

Test the conversion between wall frame fluid speeds \(\tilde{v}_+\) and \(\tilde{v}_-\)

Classes

class tests.bubble.test_vplusminus.TestVPlusMinus(methodName='runTest')

Bases: TestCase

Test the conversion between wall frame fluid speeds \(\tilde{v}_+\) and \(\tilde{v}_-\)

classmethod setUpClass()

Hook method for setting up class fixture before running tests in the class.

Return type:

None

test_v_minus_plus()

Compute v_minus from v_plus.

test_v_plus_minus()

Compute v_plus from v_minus. This generates the same data as plotted by sound-shell-model/paper/python/fig_8l_vplusminus.py.

v_conversion(func, ref_path, v_first)
Parameters:
  • func (callable)

  • ref_path (str)

  • v_first (ndarray)