Add test case for issue #474.

This commit is contained in:
Brian Huffman 2017-10-20 11:09:51 -07:00
parent e3ea9335c8
commit 8db89ab3ee
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
let mapping = ['A' .. 'Z'] <<< 13
let mapped c = if (('A' <= c) && (c <= 'Z')) then (mapping @ (c - 'A')) else c
:sat \x -> mapped x == 'N'

View File

@ -0,0 +1,2 @@
Loading module Cryptol
(\x -> mapped x == 'N') 0x41 = True