anchor.diff:    {From0, Duration0} = case {Repeat, PreviousCue} of
                                   {true, #{duration := #{duration := ExtraDuration, id := ID}}} ->
                                     {ID,
  -                                   Duration + ceil(ExtraDuration)};
  +                                   Duration + math_ceil(ExtraDuration)};
                                   _ ->
                                     {From, Duration}
                                 end,
  
positive.code:       lists:flatten(io_lib:format(F, []))
    end.
  
  -ifdef(TEST).
  vice_prv_subs_writer_internal_test_() ->
    {setup,
  
negative.code:           io_lib:format(
              "#EXTM3U~n#EXT-X-TARGETDURATION:~p~n#EXT-X-VERSION:3~n#EXT-X-MEDIA-SEQUENCE:0~n#EXT-X-PLAYLIST-TYPE:VOD~n~s~n#EXT-X-ENDLIST",
              [
               math_ceil(MaxDuration),
               string:join(segments(Segments), "\n")
              ])));
      Other ->
  