Sha256: 075f9b024fb08a1df57abd838c3dd90e7924919c1f2a7e605b352b9bafbf375f
Contents?: true
Size: 366 Bytes
Versions: 6
Compression:
Stored size: 366 Bytes
Contents
require "test_helper" class Mathematical::BasicTest < Test::Unit::TestCase def test_it_has_a_version assert Mathematical::VERSION end def test_multiple_calls render = Mathematical::Render.new render.render('$\pi$') output = render.render('$\pi$')['svg'] assert_equal 1, output.scan(/<svg/).size, 'should only contain one svg' end end
Version data entries
6 entries across 6 versions & 1 rubygems