-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from lynnzhao92/lynn
Lynn
- Loading branch information
Showing
3 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
""" | ||
Test multiple_comparison module | ||
Run with:: | ||
nosetests test_multiple_comparison.py | ||
""" | ||
|
||
import numpy as np | ||
from .. import multiple_comparison | ||
from numpy.testing import assert_array_equal, assert_almost_equal | ||
|
||
def test_multiple_comp(): | ||
res = np.linspace(0,1,100) | ||
res.shape = (10,10) | ||
actual = multiple_comparison.multiple_comp(res) | ||
expected = [0, 0, 0, 0] | ||
assert_array_equal(actual, expected) |