diff options
Diffstat (limited to 'test/test_splitfx.rb')
-rw-r--r-- | test/test_splitfx.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test_splitfx.rb b/test/test_splitfx.rb new file mode 100644 index 0000000..1d36c54 --- /dev/null +++ b/test/test_splitfx.rb @@ -0,0 +1,14 @@ +# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors +# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +require './test/helper' +require 'dtas/splitfx' + +class TestSplitfx < Testcase + def test_cdda + sfx = DTAS::SplitFX.new + sfx.instance_eval do + @infmt = DTAS::Format.load("rate"=>44100) + end + assert_equal 118554000, sfx.t2s_cdda('44:48.3') + end +end |