Sha256: 2d7579ef8d61f65e649b20b1ca44c62194b819488246a36cbaa1ce79b3122d16
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
# -*- coding: utf-8 -*- require_relative 'helper' class TestSound < Test::Unit::TestCase def s() Beeps::Sound.new Beeps::SineWave.new, 0.1 end def test_play() assert_nothing_raised {s.play} end def test_beep() assert_nothing_raised {Beeps.be} assert_nothing_raised {Beeps.bee} assert_nothing_raised {Beeps.beep} assert_nothing_raised {Beeps.beeep} assert_nothing_raised {Beeps.beeeep} assert_nothing_raised {Beeps.beeeeep} end end# TestBeeps
Version data entries
11 entries across 11 versions & 1 rubygems