test/test_topbuilder.rb in review-3.0.0.preview3 vs test/test_topbuilder.rb in review-3.0.0.preview4

- old
+ new

@@ -409,6 +409,27 @@ this is コラム「test」. EOS assert_equal expected, column_helper(review) end + + def test_texequation_with_caption + src = <<-EOS +@<eq>{emc2} + +//texequation[emc2][The Equivalence of Mass @<i>{and} Energy]{ +e=mc^2 +//} +EOS + expected = <<-EOS +式1.1 + +◆→開始:TeX式←◆ +式1.1 The Equivalence of Mass ▲and☆ Energy +e=mc^2 +◆→終了:TeX式←◆ + +EOS + actual = compile_block(src) + assert_equal expected, actual + end end