commit after merge
authorHamed Gorjiara <hgorjiar@uci.edu>
Tue, 9 Jan 2018 20:34:34 +0000 (12:34 -0800)
committerHamed Gorjiara <hgorjiar@uci.edu>
Tue, 9 Jan 2018 20:34:34 +0000 (12:34 -0800)
1  2 
src/Test/deserializersolvetest.cc

index 5498f84,0f35d12..2a2910f
mode 100755,100644..100644
@@@ -1,19 -1,15 +1,16 @@@
  #include "csolver.h"
 -
 +//#include <unistd.h>
 +//#include <sys/types.h>
  
- int main(int argc, char ** argv){
-       if(argc < 2){
+ int main(int argc, char **argv) {
+       if (argc < 2) {
                printf("You should specify file names ...");
-               exit(-1);       
+               exit(-1);
        }
- //    printf("I am pid %d!\n", getpid());
- //        usleep(20000000);
-       for(int i = 1; i < argc; i++) {
-               CSolver* solver = CSolver::deserialize(argv[i]);
-               int value=solver->solve();
-               if (value ==1) {
+       for (int i = 1; i < argc; i++) {
+               CSolver *solver = CSolver::deserialize(argv[i]);
+               int value = solver->solve();
+               if (value == 1) {
                        printf("%s is SAT\n", argv[i]);
                } else {
                        printf("%s is UNSAT\n", argv[i]);