From cfb5ff1337cfa1ef53f3e3bdfd9fc238b5d1ba6c Mon Sep 17 00:00:00 2001 From: trueChazza Date: Fri, 16 Feb 2024 09:29:34 +1300 Subject: [PATCH] test: fix assertions --- test/hls_playlist_test.exs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/hls_playlist_test.exs b/test/hls_playlist_test.exs index 5fe58e7..3affc94 100644 --- a/test/hls_playlist_test.exs +++ b/test/hls_playlist_test.exs @@ -4,7 +4,7 @@ defmodule HlsPlaylistTest do @media_path "dev/sample__1080__libx264__ac3__30s__video.mp4" test "get duration" do - assert HlsPlaylist.get_duration(@media_path) == 30.016 + assert HlsPlaylist.get_duration(@media_path) == 30.01 end test "get keyframes" do @@ -30,7 +30,7 @@ defmodule HlsPlaylistTest do 3.866666, 4.166667, 3.133333, - 2.582667 + 2.576667 ] end @@ -58,7 +58,7 @@ defmodule HlsPlaylistTest do http://some-url&some-query=param&segment=5 #EXTINF:3.133333, http://some-url&some-query=param&segment=6 - #EXTINF:2.582667, + #EXTINF:2.576667, http://some-url&some-query=param&segment=7 #EXT-X-ENDLIST\ """