test/test_font.rb in rays-0.1.15 vs test/test_font.rb in rays-0.1.16

- old
+ new

@@ -23,6 +23,11 @@ assert_equal 0, font.width('') w = font.width 'X' assert_equal w * 2, font.width('XX') end + def test_height () + f = font + assert_equal f.height, f.ascent + f.descent + f.leading + end + end# TestFont