Sha256: 6b4a606102fbca725dc0d6602284ad40c7d96741c9d1e674ff998ee372c27c75
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
require "test_helper" class Mathematical::CorrectionsTest < Test::Unit::TestCase def setup @render = Mathematical.new end def test_adjust_lt_gt simple_lt = '$|q| < 1$' assert_match /|q| \\lt 1/, @render.apply_corrections(simple_lt) simple_gt = '$|q| > 1$' assert_match /|q| \\gt 1/, @render.apply_corrections(simple_gt) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mathematical-1.1.1 | test/mathematical/corrections_test.rb |
mathematical-1.1.0 | test/mathematical/corrections_test.rb |
mathematical-1.0.0 | test/mathematical/corrections_test.rb |