Elm Exactly
Results / tags /

elm-unspecced

tests whose expected outcome A Standard Definition of Elm? leaves open or puts outside the definition: what `Debug.log` prints, arrays built by the library functions of `Array`, the value of an integer constant outside the Int range, the text of a crash, shader blocks, programs beyond an implementation's limits on size, stack or memory; each says why in its comment

Discussions of this tag and its tests โ†“

Showing 31 of 31 tests. Hover over a badge for the reason.

Testelm-0.19.1elm-0.19.2elm-0.19.3lamdera-1.5.0
elm / AddTest
`Debug.log` prints an `Int` bound in a `let`.
passpasspasspass
elm / ArrayAppendCanonicalTest
`Array.append` of two halves gives an array equal under `==` to `Array.initialize` of the whole, for lengths 32, 64, 96, 128, 160 and 256.
passpasspasspass
elm / ArrayEqAfterPushTest
An `Array` built by `Array.push` from empty is equal under `==` to `Array.initialize` of the same elements, for lengths 96, 128 and 160.
passpasspasspass
elm / BoolTrueFalseTest
The Bool constants `True` and `False` print as `True` and `False` with `Debug.log`.
passpasspasspass
elm / CharAstralCustomFieldShowTest
`Debug.log` prints a constructor whose field is an astral `Char` (code point above 0xFFFF) with the character itself: `Box 3 '๐Ÿ˜€'`.
passpasspasspass
elm / CharAstralTupleShowTest
`Debug.log` prints tuples that hold astral `Char`s (code points above 0xFFFF) with the characters themselves: `(1,'๐Ÿ˜€')` and `('a','๐„ž',2)`.
passpasspasspass
elm / CompilerIssue1246LargeIntLiteralTestXFAILelm19-bug
Int literals that do not fit 64 bits are silently wrapped.
failfailfailfail
elm / CompilerIssue2281LongLineListTestelm19-bug-fix
A valid list literal written on one line longer than 65535 columns compiles and runs.
failpasspasspass
elm / CustomTypeBasicTest
`Debug.log` prints each constructor of a custom type with no arguments by its name.
passpasspasspass
elm / DebugLogNoDropTest
A `Debug.log` call inside an unused `let` binding still prints.
passpasspasspass
elm / DebugLogOrderingTest
A sequence of `let` bindings of the form `_ = Debug.log ...` prints its lines in source order, each exactly once.
passpasspasspass
elm / EtaExpandSeventeenArgumentAliasTest
A module whose functions are annotated with a type alias for a function of 2,049 `Int` arguments compiles and runs.
passpasspasspass
elm / LetNumberArrayMapTest
An unannotated `let`-bound `Array` of number literals is mapped with a function that uses each element as a Float: `x * 1.5` then `round` turns `[30, 40]` into `[45,60]`.
passpasspasspass
elm / NonEntryMainEvaluatedOnceTest
A top-level `main` of an imported, non-entry module is an ordinary top-level value and is evaluated once, like any other: its `Debug.log` prints a single line however many times it is referenced.
passpasspasspass
elm / PlatformManagerCommandTest
A command of a manager of the platform is handed to the platform, which gives its message.
passpasspasspass
elm / PortEchoIntTest
An `Int` sent out through a port comes back unchanged through an incoming port, for each of seven sample values.
passpasspasspass
elm / StandardA87NumberDefaultCopyTest
A top-level value of type `number` has a Float copy, which is evaluated even when only the Int one is used.
passpasspasspass
elm / StringUnicodeTest
Three string literals logged under the labels `greek`, `emoji` and `chinese` print without error.
passpasspasspass
elm / TypeMismatchShaderUnderIntTest (must not compile)elm19-compile-error
A GLSL shader literal annotated as `Int` is rejected with a TYPE MISMATCH.
passpasspasspass
elm / WideClosureArity300Test
A function of 300 parameters of mixed types can be partially applied in seven stages and gives the right result once the last argument is supplied.
passpasspasspass
elm / WideRecord1100Test
A record with 1100 fields, cycling through `Int`, `Float`, `Char`, `String` and `Bool`, supports field access, record patterns, update and equality.
passpasspasspass
elm / WideRecord600Test
A record with 600 fields, cycling through `Int`, `Float`, `Char`, `String` and `Bool`, supports field access, record patterns, update and equality.
passpasspasspass
elm / WideRecordDecoder300Test
A 300-field record alias, used as a constructor function, can be filled in one argument at a time by an `andMap` pipeline over `Maybe`.
passpasspasspass
elm / WideRecordGcBitmapTest
A 17-field record holding one `Int` and sixteen `String`s keeps its field values while the program builds large lists before reading them.
passpasspasspass
elm-core / CmdBatchOrderTest
The order in which an effect manager receives the commands of a `Cmd.batch`: last first, for both a port and `Task.perform`.
passpasspasspass
elm-core / CoreIssue1123NestedCmdBatchStackOverflowTestelm19-bug
A deeply nested `Cmd.batch` overflows the stack in `_Platform_gatherEffects`.
failfailfailfail
elm-core / ProcessKillRunnableTest
`Process.kill` stops a process that is waiting in the scheduler's queue to run, not only one waiting on a task.
passpasspasspass
elm-core / ProcessSleepNonFiniteTest
`Process.sleep` given an infinite or NaN delay still wakes, and wakes before a 2000 ms sleep started at the same time.
passpasspasspass
elm-core / StringWordsUnicodeSpaceTest
`String.words` splits on non-ASCII whitespace (U+00A0, U+3000, U+2028) and gives `[""]` for a string that is only whitespace.
passpasspasspass
elm-error-catalogue / ErrorMessage1043PortErrorObjectObjectTestXFAILelm19-bugerror-message
A value of the wrong type arriving on an incoming port crashes the program with a message that describes the value.
failfailfailfail
elm-parser / ParserLoneLowSurrogateTest
`Parser.chompIf` on a string that starts with two low surrogates (U+DC00 U+DC01) hands its predicate a `Char` whose code is 0xDC00 and consumes two UTF-16 code units.
passpasspasspass

Discussions

Discuss this tagยทSearch the discussions on GitHub

Discussions are on GitHub; one about this tag has [tag:elm-unspecced] in its title.