We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_img_math.rb が手元だと結果がおかしい…。何か環境依存になってしまうものがありそう。
test_img_math.rb
Failure: test_defer_math_image(ImgMathTest) /home/kmuto/review/test/test_img_math.rb:50:in `test_defer_math_image' 47: assert File.exist?(img_path2) 48: 49: val1 = compare_images(img_path1, File.join(assets_dir, 'img_math/img1.png')) => 50: assert_equal 0, val1 51: 52: val2 = compare_images(img_path2, File.join(assets_dir, 'img_math/img2.png')) 53: assert_equal 0, val2 <0> expected but was <303> diff: ? 303 ================================================================================ .F ================================================================================ Failure: test_make_math_image(ImgMathTest) /home/kmuto/review/test/test_img_math.rb:84:in `test_make_math_image' 81: assert File.exist?(img_path1) 82: 83: val1 = compare_images(img_path1, File.join(assets_dir, 'img_math/img3.png')) => 84: assert_equal 0, val1 85: end 86: 87: private <0> expected but was <6>
The text was updated successfully, but these errors were encountered:
後者の方は < 20とかで比較してもいいと思いますが、前者の方はだいぶ差がありそうですね…。 フォントが違うとかでしょうか。
< 20
Sorry, something went wrong.
ぱっと見でフォントは同じ、画像サイズも同じなんですが、TeXLiveバージョンによって輪郭に違いが生じるみたいです。手元ビルドで生成されたimg1,img2相当ファイルを添付します。
#1668 でcompareにファジーパラメータを付けてみました。これだと手元でもActionsでも違いを吸収でき、またimg1とimg2の差異も検出できています。
964eb87
#1662, #1666
81dcf23
No branches or pull requests
test_img_math.rb
が手元だと結果がおかしい…。何か環境依存になってしまうものがありそう。The text was updated successfully, but these errors were encountered: