about summary refs log tree commit homepage
path: root/test/test_source_av.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_source_av.rb')
-rw-r--r--test/test_source_av.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/test_source_av.rb b/test/test_source_av.rb
index 2104b7e..4dba559 100644
--- a/test/test_source_av.rb
+++ b/test/test_source_av.rb
@@ -98,17 +98,4 @@ class TestSourceAv < Minitest::Unit::TestCase
     source = DTAS::Source::Av.new(tmp.path, '1')
     assert_equal 1000000.0, source.offset_us
   end
-
-  def test_format_from_file
-    Tempfile.open(%w(tmp .wav)) do |tmp|
-      # generate an empty file with 1s of audio
-      cmd = %W(sox -r 96000 -b 24 -c 2 -n #{tmp.path} trim 0 1)
-      system(*cmd)
-      assert $?.success?, "#{cmd.inspect} failed: #$?"
-      fmt = DTAS::Source::Av.new(tmp.path).format
-      assert_equal 96000, fmt.rate
-      assert_equal 2, fmt.channels
-      tmp.unlink
-    end
-  end
 end