Skip to content

Commit

Permalink
Increase a_s test cov
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Dec 2, 2020
1 parent e32e4d3 commit fc4dd93
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/test_strong_coupling.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,23 @@


class TestStrongCoupling:
def test_from_dict(self):
d = {
"alphas": 0.118,
"Qref": 91.,
"Q0": 1,
"PTO": 0,
"ModEv": "EXA",
"mc": 2.,
"mb": 4.,
"mt": 175.,
"kcThr": 1.,
"kbThr": 1.,
"ktThr": 1.,
}
sc = StrongCoupling.from_dict(d)
assert sc.a_s(d["Qref"]**2) == d["alphas"]/(4.*np.pi)

def test_init(self):
# prepare
alphas_ref = 0.118
Expand Down

0 comments on commit fc4dd93

Please sign in to comment.