git.iko.soy/rowtype-yoga/purescript-native
on cd4c708 help sign in
17 lines 460 B history raw
1module Main where
3import Prelude ((==), bind)
4import Test.Assert (assert)
5import Control.Monad.Eff.Console (log)
7singleCharacter = "\0\b\t\n\v\f\r\"\\" == "\x0\x8\x9\xA\xB\xC\xD\x22\x5C"
8hex = "\x1D306\x2603\x3C6\xE0\x0" == "๐Œ†โ˜ƒฯ†ร \0"
9decimal = "\119558\9731\966\224\0" == "๐Œ†โ˜ƒฯ†ร \0"
10surrogatePair = "\xD834\xDF06" == "\x1D306"
12main = do
13 assert singleCharacter
14 assert hex
15 assert decimal
16 assert surrogatePair
17 log "Done"