test/test_matrix.rb in statsample-0.13.1 vs test/test_matrix.rb in statsample-0.14.0
- old
+ new
@@ -1,8 +1,10 @@
require(File.dirname(__FILE__)+'/helpers_tests.rb')
class StatsampleMatrixTestCase < MiniTest::Unit::TestCase
+
+
def test_covariate
a=Matrix[[1.0, 0.3, 0.2], [0.3, 1.0, 0.5], [0.2, 0.5, 1.0]]
a.extend Statsample::CovariateMatrix
a.fields=%w{a b c}
assert_equal(:correlation, a.type)