!RBIX 9595534255132031488 x M 1 n n x 10 __script__ i 44 5 7 0 64 47 49 1 1 15 99 7 2 45 3 4 43 5 43 6 65 49 7 3 13 99 12 7 8 12 7 9 12 65 12 49 10 4 15 49 8 0 15 2 11 I 6 I 0 I 0 I 0 n p 11 s 11 test_helper x 7 require x 18 SassExtensionsTest x 4 Test n x 4 Unit x 8 TestCase x 10 open_class x 14 __class_init__ M 1 n n x 18 SassExtensionsTest i 306 5 66 99 7 0 7 1 65 67 49 2 0 49 3 4 15 99 7 4 7 5 65 67 49 2 0 49 3 4 15 99 7 6 7 7 65 67 49 2 0 49 3 4 15 99 7 8 7 9 65 67 49 2 0 49 3 4 15 99 7 10 7 11 65 67 49 2 0 49 3 4 15 99 7 12 7 13 65 67 49 2 0 49 3 4 15 99 7 14 7 15 65 67 49 2 0 49 3 4 15 99 7 16 7 17 65 67 49 2 0 49 3 4 15 99 7 18 7 19 65 67 49 2 0 49 3 4 15 99 7 20 7 21 65 67 49 2 0 49 3 4 15 99 7 22 7 23 65 67 49 2 0 49 3 4 15 99 7 24 7 25 65 67 49 2 0 49 3 4 15 99 7 26 7 27 65 67 49 2 0 49 3 4 15 99 7 28 7 29 65 67 49 2 0 49 3 4 15 99 7 30 7 31 65 67 49 2 0 49 3 4 15 99 7 32 7 33 65 67 49 2 0 49 3 4 15 99 7 34 7 35 65 67 49 2 0 49 3 4 15 99 7 36 7 37 65 67 49 2 0 49 3 4 15 7 38 64 7 39 64 7 40 64 7 41 64 35 4 56 42 50 43 0 15 99 7 44 7 45 65 67 49 2 0 49 3 4 15 5 48 46 15 99 7 47 7 48 65 67 49 2 0 49 3 4 11 I 5 I 0 I 0 I 0 n p 49 x 11 test_simple M 1 n n x 11 test_simple i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 3 a b s 14 nest("a", "b") x 8 evaluate x 12 assert_equal p 5 I -1 I 4 I 0 I 5 I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 17 method_visibility x 15 add_defn_method x 24 test_left_side_expansion M 1 n n x 24 test_left_side_expansion i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 8 a c, b c s 17 nest("a, b", "c") x 8 evaluate x 12 assert_equal p 5 I -1 I 7 I 0 I 8 I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 25 test_right_side_expansion M 1 n n x 25 test_right_side_expansion i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 8 a b, a c s 17 nest("a", "b, c") x 8 evaluate x 12 assert_equal p 5 I -1 I a I 0 I b I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 25 test_both_sides_expansion M 1 n n x 25 test_both_sides_expansion i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 18 a c, a d, b c, b d s 20 nest("a, b", "c, d") x 8 evaluate x 12 assert_equal p 5 I -1 I d I 0 I e I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 30 test_three_selectors_expansion M 1 n n x 30 test_three_selectors_expansion i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 13 a b, a c, a d s 20 nest("a", "b, c, d") x 8 evaluate x 12 assert_equal p 5 I -1 I 10 I 0 I 11 I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 29 test_third_argument_expansion M 1 n n x 29 test_third_argument_expansion i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 40 a b e, a b f, a c e, a c f, a d e, a d f s 28 nest("a", "b, c, d", "e, f") x 8 evaluate x 12 assert_equal p 5 I -1 I 13 I 0 I 14 I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 14 test_enumerate M 1 n n x 14 test_enumerate i 17 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 4 s 25 .grid-1, .grid-2, .grid-3 s 29 enumerate(".grid", 1, 3, "-") x 8 evaluate x 12 assert_equal p 5 I -1 I 17 I 0 I 18 I 11 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 20 test_append_selector M 1 n n x 20 test_append_selector i 34 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 6 s 7 div.bar s 30 append_selector("div", ".bar") x 8 evaluate x 12 assert_equal s 46 .foo1.bar1, .foo1.bar2, .foo2.bar1, .foo2.bar2 s 47 append_selector(".foo1, .foo2", ".bar1, .bar2") p 7 I -1 I 1b I 0 I 1c I 11 I 1d I 22 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 12 test_headers M 1 n n x 12 test_headers i 85 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 0 64 5 7 4 64 47 49 2 1 47 49 3 2 15 5 7 5 64 5 7 6 64 47 49 2 1 47 49 3 2 15 5 7 7 64 5 7 8 64 47 49 2 1 47 49 3 2 15 5 7 9 64 5 7 10 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 11 s 22 h1, h2, h3, h4, h5, h6 s 9 headers() x 8 evaluate x 12 assert_equal s 12 headers(all) s 14 h1, h2, h3, h4 s 10 headers(4) s 6 h2, h3 s 12 headers(2,3) s 10 h4, h5, h6 s 12 headers(4,6) p 13 I -1 I 20 I 0 I 21 I 11 I 22 I 22 I 23 I 33 I 24 I 44 I 25 I 55 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 20 test_scale_lightness M 1 n n x 20 test_scale_lightness i 34 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 6 s 3 75% s 53 lightness(scale-lightness(hsl(50deg, 50%, 50%), 50%)) x 8 evaluate x 12 assert_equal s 3 25% s 54 lightness(scale-lightness(hsl(50deg, 50%, 50%), -50%)) p 7 I -1 I 28 I 0 I 29 I 11 I 2a I 22 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 21 test_adjust_lightness M 1 n n x 21 test_adjust_lightness i 68 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 7 64 47 49 2 1 47 49 3 2 15 5 7 8 64 5 7 9 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 10 s 3 75% s 54 lightness(adjust-lightness(hsl(50deg, 50%, 50%), 25%)) x 8 evaluate x 12 assert_equal s 3 25% s 55 lightness(adjust-lightness(hsl(50deg, 50%, 50%), -25%)) s 4 100% s 55 lightness(adjust-lightness(hsl(50deg, 50%, 50%), 500%)) s 2 0% s 56 lightness(adjust-lightness(hsl(50deg, 50%, 50%), -500%)) p 11 I -1 I 2d I 0 I 2e I 11 I 2f I 22 I 30 I 33 I 31 I 44 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 21 test_scale_saturation M 1 n n x 21 test_scale_saturation i 34 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 6 s 3 75% s 55 saturation(scale-saturation(hsl(50deg, 50%, 50%), 50%)) x 8 evaluate x 12 assert_equal s 3 25% s 56 saturation(scale-saturation(hsl(50deg, 50%, 50%), -50%)) p 7 I -1 I 34 I 0 I 35 I 11 I 36 I 22 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 22 test_adjust_saturation M 1 n n x 22 test_adjust_saturation i 34 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 6 s 3 75% s 56 saturation(adjust-saturation(hsl(50deg, 50%, 50%), 25%)) x 8 evaluate x 12 assert_equal s 3 25% s 57 saturation(adjust-saturation(hsl(50deg, 50%, 50%), -25%)) p 7 I -1 I 39 I 0 I 3a I 11 I 3b I 22 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 16 test_if_function M 1 n n x 16 test_if_function i 34 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 6 s 2 no s 18 if(false, yes, no) x 8 evaluate x 12 assert_equal s 3 yes s 17 if(true, yes, no) p 7 I -1 I 3e I 0 I 3f I 11 I 40 I 22 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 19 test_trig_functions M 1 n n x 19 test_trig_functions i 313 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 7 64 47 49 2 1 47 49 3 2 15 5 7 8 64 5 7 9 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 10 64 47 49 2 1 47 49 3 2 15 5 7 11 64 5 7 12 64 47 49 2 1 47 49 3 2 15 5 7 11 64 5 7 13 64 47 49 2 1 47 49 3 2 15 5 7 8 64 5 7 14 64 47 49 2 1 47 49 3 2 15 5 7 15 64 5 7 16 64 47 49 2 1 47 49 3 2 15 5 7 8 64 5 7 17 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 18 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 19 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 20 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 21 64 47 49 2 1 47 49 3 2 15 5 7 22 64 5 7 23 64 47 49 2 1 47 49 3 2 15 5 5 7 24 64 47 49 2 1 49 25 0 7 26 85 27 5 7 24 64 47 49 2 1 47 49 28 2 15 5 5 7 29 64 47 49 2 1 49 25 0 7 30 84 31 5 7 24 64 47 49 2 1 47 49 28 2 11 I 4 I 0 I 0 I 0 n p 32 s 5 0.841 s 6 sin(1) x 8 evaluate x 12 assert_equal s 7 0.841px s 8 sin(1px) s 3 0.0 s 9 sin(pi()) s 1 1 s 13 sin(pi() / 2) s 11 sin(180deg) s 2 -1 s 16 sin(3* pi() / 2) s 9 cos(pi()) s 11 cos(360deg) s 6 -0.176 s 8 sin(270) s 11 cos(2*pi()) s 13 cos(pi() / 2) s 16 cos(3* pi() / 2) s 9 tan(pi()) s 11 tan(360deg) s 5 0.959 s 8 sin(360) s 20 tan(pi()/2 - 0.0001) x 4 to_f I 3e8 x 1 > x 6 assert s 20 tan(pi()/2 + 0.0001) I -3e8 x 1 < p 37 I -1 I 43 I 0 I 44 I 11 I 45 I 22 I 46 I 33 I 47 I 44 I 48 I 55 I 49 I 66 I 4a I 77 I 4b I 88 I 4c I 99 I 4d I aa I 4e I bb I 4f I cc I 50 I dd I 51 I ee I 52 I ff I 53 I 11c I 54 I 139 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 10 test_blank M 1 n n x 10 test_blank i 85 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 6 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 7 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 8 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 9 s 5 false s 11 blank(true) x 8 evaluate x 12 assert_equal s 4 true s 12 blank(false) s 9 blank('') s 10 blank(' ') s 31 blank(-compass-space-list(' ')) p 13 I -1 I 57 I 0 I 58 I 11 I 59 I 22 I 5a I 33 I 5b I 44 I 5c I 55 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 18 test_css2_fallback M 1 n n x 18 test_css2_fallback i 51 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 7 64 47 49 2 1 47 49 3 2 11 I 4 I 0 I 0 I 0 n p 8 s 4 css3 s 25 css2-fallback(css3, css2) x 8 evaluate x 12 assert_equal s 4 css2 s 32 -css2(css2-fallback(css3, css2)) s 4 true s 42 prefixed(-css2, css2-fallback(css3, css2)) p 9 I -1 I 5f I 0 I 60 I 11 I 61 I 22 I 62 I 33 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 15 test_font_files M 1 n n x 15 test_font_files i 175 5 7 0 64 5 7 1 64 47 49 2 1 47 49 3 2 15 5 7 4 64 5 7 5 64 47 49 2 1 47 49 3 2 15 5 7 6 64 5 7 7 64 47 49 2 1 47 49 3 2 15 5 7 8 64 5 7 9 64 47 49 2 1 47 49 3 2 15 5 7 10 64 5 7 11 64 47 49 2 1 47 49 3 2 15 5 7 12 64 5 7 13 64 47 49 2 1 47 49 3 2 15 5 7 14 64 5 7 15 64 47 49 2 1 47 49 3 2 15 5 7 16 64 5 7 17 64 47 49 2 1 47 49 3 2 15 5 45 18 19 43 20 56 21 47 50 22 1 15 5 45 18 23 43 20 56 24 47 50 25 1 15 5 45 18 26 43 20 56 27 47 50 25 1 11 I 4 I 0 I 0 I 0 n p 28 s 0 s 12 font_files() x 8 evaluate x 12 assert_equal s 121 url(/font/name.woff) format('woff'), url(/fonts/name.ttf) format('truetype'), url(/fonts/name.svg#fontpath) format('svg') s 97 font-files('/font/name.woff', woff, '/fonts/name.ttf', truetype, '/fonts/name.svg#fontpath', svg) s 45 url(/font/with/right_ext.woff) format('woff') s 39 font_files('/font/with/right_ext.woff') s 44 url(/font/with/wrong_ext.woff) format('svg') s 46 font_files('/font/with/wrong_ext.woff', 'svg') s 41 url(/font/with/no_ext) format('opentype') s 38 font_files('/font/with/no_ext', 'otf') s 44 url(/font/with/weird.ext) format('truetype') s 41 font_files('/font/with/weird.ext', 'ttf') s 100 url(/font/with/right_ext.woff) format('woff'), url(/font/with/right_ext_also.otf) format('opentype') s 72 font_files('/font/with/right_ext.woff', '/font/with/right_ext_also.otf') s 99 url(/font/with/wrong_ext.woff) format('truetype'), url(/font/with/right_ext.otf) format('opentype') s 74 font_files('/font/with/wrong_ext.woff', 'ttf', '/font/with/right_ext.otf') x 4 Sass n x 11 SyntaxError M 1 p 2 x 9 for_block t n x 15 test_font_files i 9 5 7 0 64 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 s 29 font-files('/font/name.woff') x 8 evaluate p 3 I 0 I 72 I 9 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 21 assert_nothing_raised n M 1 p 2 x 9 for_block t n x 15 test_font_files i 9 5 7 0 64 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 s 28 font-files('/font/name.ext') x 8 evaluate p 3 I 0 I 76 I 9 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 13 assert_raises n M 1 p 2 x 9 for_block t n x 15 test_font_files i 9 5 7 0 64 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 s 40 font-files('/font/name.ext', 'nonsense') x 8 evaluate p 3 I 0 I 7a I 9 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 p 25 I -1 I 65 I 0 I 66 I 11 I 67 I 22 I 69 I 33 I 6a I 44 I 6b I 55 I 6c I 66 I 6e I 77 I 6f I 88 I 71 I 95 I 75 I a2 I 79 I af x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 s 14 stylesheet_url s 8 font_url s 9 image_url s 19 generated_image_url M 1 p 2 x 9 for_block t n x 18 SassExtensionsTest i 35 57 19 0 15 5 7 0 20 0 47 101 1 7 2 20 0 47 101 1 7 3 20 0 47 101 1 7 4 63 7 47 49 5 1 11 I a I 1 I 1 I 1 n p 6 s 16 def test_ x 4 to_s s 73 _helper_defers_to_existing_helper c = Class.new do def s 161 (*args) :original end end c.send(:include, Compass::SassExtensions::Functions::Urls) assert_equal :original, c.new. s 27 ("logo.png") end x 10 class_eval p 15 I 0 I 7e I 4 I 89 I 5 I 7f I 7 I 80 I e I 82 I 15 I 87 I 1e I 89 I 23 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 1 x 6 helper x 4 each x 22 test_inline_font_files M 1 n n x 22 test_inline_font_files i 88 45 0 1 49 2 0 45 3 4 7 5 64 45 3 6 65 49 7 0 49 8 1 49 9 2 13 18 2 49 10 1 15 15 45 3 11 45 3 12 45 0 13 49 2 0 49 14 0 7 15 64 49 16 2 49 17 1 49 18 0 19 0 15 5 7 19 20 0 47 101 20 7 21 63 3 5 7 22 64 47 49 23 1 47 49 24 2 11 I 6 I 1 I 0 I 0 n p 25 x 7 Compass n x 13 configuration x 4 File n s 17 ../fixtures/fonts n x 11 active_path x 7 dirname x 11 expand_path x 11 fonts_path= n n n x 10 fonts_path s 17 bgrove.base64.txt x 4 join x 4 read x 5 chomp s 31 url('data:font/truetype;base64, x 4 to_s s 21 ') format('truetype') s 41 inline_font_files('bgrove.ttf', truetype) x 8 evaluate x 12 assert_equal p 9 I -1 I 8c I 0 I 8d I 21 I 8e I 3f I 8f I 58 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 1 x 13 base64_string x 9 protected x 8 evaluate M 1 n n x 8 evaluate i 47 45 0 1 43 2 43 3 20 0 78 78 49 4 3 45 0 5 43 6 13 71 7 47 9 37 47 49 8 0 13 47 49 9 0 15 8 40 49 7 0 49 10 1 49 11 0 11 I 5 I 1 I 1 I 1 n p 12 x 4 Sass n x 6 Script x 6 Parser x 5 parse n x 11 Environment x 3 new x 8 allocate x 10 initialize x 7 perform x 4 to_s p 5 I -1 I 93 I 0 I 94 I 2f x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 1 x 5 value p 45 I 2 I 4 I 10 I 7 I 1e I a I 2c I d I 3a I 10 I 48 I 13 I 56 I 17 I 64 I 1b I 72 I 20 I 80 I 28 I 8e I 2d I 9c I 34 I aa I 39 I b8 I 3e I c6 I 43 I d4 I 57 I e2 I 5f I f0 I 65 I fe I 7e I 112 I 8c I 120 I 92 I 124 I 93 I 132 x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0 x 13 attach_method p 5 I 0 I 1 I 9 I 3 I 2c x 66 /Users/crispee/Projects/compass/test/units/sass_extensions_test.rb p 0