defmodule Floki.HTML.Generated.Tokenizer.<%= test_name %>Test do
  use ExUnit.Case, async: true

  # NOTE: This file was generated by "mix generate_tokenizer_tests <%= test_file %>".
  # html5lib-tests rev: <%= revision %>

  alias Floki.HTML.Tokenizer

<%= for %{"input" => input, "output" => output, "description" => description} <- tests do %>
  test <%= inspect("tokenize/1 " <> description) %> do
    input = <%= inspect(input) %>
    output = <%= inspect(output) %>

    result =
      input
      |> Tokenizer.tokenize()
      |> TokenizerTestLoader.tokenization_result()

    assert result.tokens == output
  end
<% end %>
end
