Beispiel #1
0
 def test_median2(self):
     x = rand(101)
     assert_equal(fu.median(x), median(x))
Beispiel #2
0
 def test_median3(self):
     x = rand(10, 30, 11)
     assert_almost_equal(squeeze(fu.median(x,axis=1)), median(x,axis=1))
Beispiel #3
0
 def test_median(self):
     x = rand(100)
     assert_almost_equal(fu.median(x), median(x))