Skip to content

Commit 5f96edf

Browse files
SUTIENG TamSUTIENG Tam
authored andcommitted
update unit tests
1 parent 1b0a713 commit 5f96edf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skypy/halos/tests/test_colossus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_colossus_concentration():
120120
sigma8, ns = 0.82, 0.96
121121
c = concentration(mass, mdef, redshift, model, cosmo, sigma8, ns)
122122

123-
assert len(mass) == len(c)
123+
assert len(c) == len(mass)
124124

125125
@pytest.mark.skipif(not HAS_COLOSSUS, reason='test requires colossus')
126126
@pytest.mark.flaky
@@ -152,6 +152,6 @@ def test_colossus_Delta_Sigma():
152152
sigma8, ns = 0.82, 0.96
153153
radius = np.logspace(np.log10(300), np.log10(3000), 10)
154154

155-
DeltaSigma=delta_Sigma(mass, c, redshift, mdef, radius, cosmo, sigma8, ns)
155+
DeltaSigma=Delta_Sigma(mass, c, redshift, mdef, radius, cosmo, sigma8, ns)
156156

157157
assert len(DeltaSigma) == len(radius)

0 commit comments

Comments
 (0)