File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const toInt = n => {
1515 else
1616 return unsafeToInt ( n ) ;
1717} ;
18- LC . configure ( { purity : "LetRec" , numEncoding : { fromInt, toInt } , verbosity : "Concise" } ) ;
18+ LC . configure ( { purity : "LetRec" , numEncoding : { fromInt, toInt } } ) ;
1919
2020const solutionText = readFileSync ( new URL ( "./solution.lc" , import . meta. url ) , { encoding : "utf8" } ) ;
2121const solution = LC . compile ( solutionText ) ;
@@ -27,6 +27,7 @@ const toOrdering = cmp => cmp ("LT") ("EQ") ("GT") ;
2727
2828describe ( "NegaBinaryScott" , ( ) => {
2929 it ( "numbers" , ( ) => {
30+ LC . configure ( { purity : "LetRec" , numEncoding : { fromInt, toInt } } ) ;
3031 for ( let n = - 10 ; n <= 10 ; n ++ )
3132 assert . strictEqual ( toInt ( fromInt ( n ) ) , n , `toInt (fromInt ${ n } )` ) ;
3233 } ) ;
You can’t perform that action at this time.
0 commit comments