1 # Copyright (c) 2009 Paolo Capriotti <p.capriotti@gmail.com>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
13 class TestQtUtils < Test::Unit::TestCase
14 def test_painter_bracket
16 p.expects(:fill_rect).once
26 h = alphabet.detect_index {|l| "hello"[0, 1] == l }
30 result = alphabet.detect_index {|l| 0 == 1 }