Sha256: 24c3f0bff16a309dfe2044e87b3473f0c9640cde9e0d3ace789de40e134bc541
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
require 'minitest_helper' class TestLimit < TestInterpreterBase def setup end def assert_iq_equal(output, input) assert_equal(Qlang::Iq.execute(input), output) end def test_general assert_iq_equal( 'oo', 'lim[x->0] 1/x' ) assert_iq_equal( '10.0', 'lim[x->10] x' ) assert_iq_equal( '2.7182682371744895', 'lim[x->oo] (1 + 1/x)^x' ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qlang-0.0.27182121 | test/interpreter/test_limit.rb |
qlang-0.0.27182120 | test/interpreter/test_limit.rb |