Tests (9)
- elm-core / ContainerCompareCharTestOrdering of pairs, triples and lists of `Char` with `compare` and the relational operators.
- elm-core / ContainerCompareIntTestOrdering of pairs, triples and lists of `Int` with `compare` and the relational operators.
- elm-core / CoreIssue1050NanGreaterThanNanTest`NaN > NaN` and `NaN >= NaN` are False.
- elm-core / FloatCompareTest`<`, `>`, `<=`, `>=`, `==` and `/=` on `Float` literals, each in a case where the comparison is `True`.
- elm-core / IntCompareTestChecks that the six comparison operators `<`, `>`, `<=`, `>=`, `==` and `/=` give `True` on Int literals.
- elm-core / OrderingEmptyListTestTests that `<`, `<=`, `>` and `>=` on `List Int` order the empty list before any non-empty list and treat two empty lists as equal.
- elm-core / OrderingEmptyStringTestTests that `<`, `<=`, `>` and `>=` on `String` order `""` before any non-empty string and treat two empty strings as equal.
- elm-core / OrderingTupleWithEmptyListTestTests `<`, `<=`, `>` and `>=` on `( Int, List Int )` tuples whose first components are equal, so the result is decided by comparing `[]` with `[ 1 ]` in the second component.
- elm-core / OrderingTupleWithEmptyStringTestTests `<`, `<=`, `>` and `>=` on `( Int, String )` tuples whose first components are equal, so the result is decided by comparing `""` with `"a"` in the second component.
Discussions
Discuss this basis entry·Search the discussions on GitHub
Discussions are on GitHub; one about this basis entry has [b:Basics.ge] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.