Sha256: 14b6073cb92e1245e24fad78b80bc6153b0f49403a2c2015824bf7a5703d93c3
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
require 'common_requires' class TestSma < MiniTest::Unit::TestCase def test_eurusd_50_sma10 assert Util.compare_2_arrays_of_floats Quant.sma(Samples::Ohlc.eurusd_50_closes, 10), Samples::Ttr.eurusd_50_ttr_sma10 end def test_usdjpy_150_sma25 assert Util.compare_2_arrays_of_floats Quant.sma(Samples::Ohlc.usdjpy_150_closes, 25), Samples::Ttr.usdjpy_150_ttr_sma25 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quant-0.0.3 | test/test_sma.rb |