From 9609a945c4760bb31ce33a1087a24a430cc6a999 Mon Sep 17 00:00:00 2001 From: mdgriffith Date: Sun, 9 Aug 2020 09:34:35 -0400 Subject: [PATCH] add elm-animator runner --- testcases/elm-animator/Run.elm | 18 ++++++++++++++++++ testcases/elm-animator/standard.html | 22 ++++++++++++++++++++++ testcases/elm-animator/transformed.html | 21 +++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 testcases/elm-animator/Run.elm create mode 100644 testcases/elm-animator/standard.html create mode 100644 testcases/elm-animator/transformed.html diff --git a/testcases/elm-animator/Run.elm b/testcases/elm-animator/Run.elm new file mode 100644 index 0000000..66c24d9 --- /dev/null +++ b/testcases/elm-animator/Run.elm @@ -0,0 +1,18 @@ +port module Run exposing (main) + +{-| -} + +import Benchmark exposing (..) +import Benchmark.Runner exposing (BenchmarkProgram, program) +import Benchmark.Runner.Json +import Benchmarks +import Html +import Json.Encode + + +main : Benchmark.Runner.Json.JsonBenchmark +main = + Benchmark.Runner.Json.program reportResults Benchmarks.suite + + +port reportResults : Json.Encode.Value -> Cmd msg diff --git a/testcases/elm-animator/standard.html b/testcases/elm-animator/standard.html new file mode 100644 index 0000000..6837481 --- /dev/null +++ b/testcases/elm-animator/standard.html @@ -0,0 +1,22 @@ + + + + Main + + + + +
+ + + diff --git a/testcases/elm-animator/transformed.html b/testcases/elm-animator/transformed.html new file mode 100644 index 0000000..a872303 --- /dev/null +++ b/testcases/elm-animator/transformed.html @@ -0,0 +1,21 @@ + + + + Main + + + + +
+ + +