File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ const semver = require('semver');
3
3
require ( './linker.js' ) ;
4
4
require ( './translate.js' ) ;
5
5
require ( './package.js' ) ;
6
+ require ( './smtchecker.js' ) ;
6
7
require ( './abi.js' ) ;
7
8
require ( './determinism.js' ) ;
8
9
Original file line number Diff line number Diff line change
1
+ const tape = require ( 'tape' ) ;
2
+ const smtchecker = require ( '../smtchecker.js' ) ;
3
+
4
+ tape ( 'SMTChecker' , function ( t ) {
5
+ t . test ( 'smoke test with no axuiliaryInputRequested' , function ( st ) {
6
+ var input = { } ;
7
+ var output = { } ;
8
+ st . equal ( smtchecker . handleSMTQueries ( input , output ) , null ) ;
9
+ st . end ( ) ;
10
+ } ) ;
11
+
12
+ t . test ( 'smoke test with no smtlib2queries' , function ( st ) {
13
+ var input = { } ;
14
+ var output = { auxiliaryInputRequested : { } } ;
15
+ st . equal ( smtchecker . handleSMTQueries ( input , output ) , null ) ;
16
+ st . end ( ) ;
17
+ } ) ;
18
+ } ) ;
You can’t perform that action at this time.
0 commit comments