Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

18 linhas
433 B

  1. % This file is part of Jiffy released under the MIT license.
  2. % See the LICENSE file for more information.
  3. -module(jiffy_09_reg_issue_24_tests).
  4. -include_lib("eunit/include/eunit.hrl").
  5. -include("jiffy_util.hrl").
  6. no_segfault_test_() ->
  7. {"no segfault", [
  8. ?_assert(begin jiffy:encode(gen_string(), [uescape]), true end)
  9. ]}.
  10. gen_string() ->
  11. << <<226,152,131>> || _ <- lists:seq(0, round(math:pow(2, 19))) >>.