def test_bst_to_beta_to_bst(self):
     bst = 10e-6
     output = beta_to_bst(bst_to_beta(bst, 200000), 200000)
     assert bst == output
 def test_ones(self):
     data = np.ones((100, 100)) * 10
     bst = beta_to_bst(data, 200000)
     assert data.shape == bst.shape
     assert (data != 0.0).all()
 def test_beta_to_bst_to_beta(self):
     beta = 2e-6
     output = bst_to_beta(beta_to_bst(beta, 200000), 200000)
     assert beta == output
 def test_zero(self):
     data = np.zeros((100, 100))
     bst = beta_to_bst(data, 200000)
     assert data.shape == bst.shape
     assert (data == 0.0).all()