Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

showbox-public / mediainfo   ruby

Repository URL to install this package:

Version: 0.7.2.4.1 

/ test / mediainfo_you_karel_got_test.rb

require "test_helper"
require "mediainfo_test_helper"

class YouKarelGotTest < ActiveSupport::TestCase
  def setup
    @info = mediainfo_mock "you_karel_got.mxf"
  end

  ### GENERAL
  
  test "duration" do
    assert_equal 175600, @info.duration
    assert_equal "00:02:55.600", @info.duration_before_type_cast
  end
  
  mediainfo_test_not_an_image
end