Sha256: e617669fb3234d99e4cac3ed057c88ef039478093ebce61c418ff55563abe4dd
Contents?: true
Size: 562 Bytes
Versions: 4
Compression:
Stored size: 562 Bytes
Contents
require 'minitest_helper' class TestDifferential < TestInterpreterBase def setup end def test_general assert_iq_equal( 'd/dx(e ** x)', 'e ^ x' ) assert_iq_equal( 'd/dx(x ** 2)', '2x' ) assert_iq_equal( 'd/dx(x * 2)', '2' ) assert_iq_equal( 'd/dx( sin(x) )', 'cos( x )' ) assert_iq_equal( 'd/dx(log( x ))', '1 / x' ) assert_iq_equal( 'd/dx cos(x)', '- sin( x )' ) assert_iq_equal( 'd/dx xx', '2x' ) end end
Version data entries
4 entries across 4 versions & 2 rubygems