Sha256: 81a4b7b286e407d93a28a169bae0054739f7c447587f9fdbe67cce70b728536d
Contents?: true
Size: 430 Bytes
Versions: 12
Compression:
Stored size: 430 Bytes
Contents
require_relative 'test_helper' require 'genevalidator/ext/array' require 'minitest/autorun' module GeneValidator # Test the Enumerable extension class class TestArray < Minitest::Test describe 'Array Class' do it 'test1' do v = [1, 2, 3, 4, 5, 6] assert_equal(3.5, v.mean) assert_equal(3.5, v.median) assert_equal(1.870829, v.standard_deviation.round(6)) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems