Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
refactor: Move succesful eval to test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jul 16, 2024
1 parent 28e7d68 commit 37285a4
Show file tree
Hide file tree
Showing 78 changed files with 76 additions and 78 deletions.
74 changes: 0 additions & 74 deletions Eval/success.txt

This file was deleted.

1 change: 1 addition & 0 deletions Test.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ import Test.LRAT
import Test.LRATChecker
import Test.AIG
import Test.Bv
import Test.Eval
74 changes: 74 additions & 0 deletions Test/Eval.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import Test.Eval.Popcount
import Test.Eval.WillOverflow
import Test.Eval.bitvec_152
import Test.Eval.bitvec_229
import Test.Eval.bitvec_239
import Test.Eval.bitvec_283
import Test.Eval.bitvec_AddSub_1043
import Test.Eval.bitvec_AddSub_1152
import Test.Eval.bitvec_AddSub_1156
import Test.Eval.bitvec_AddSub_1164
import Test.Eval.bitvec_AddSub_1165
import Test.Eval.bitvec_AddSub_1176
import Test.Eval.bitvec_AddSub_1202
import Test.Eval.bitvec_AddSub_1295
import Test.Eval.bitvec_AddSub_1309
import Test.Eval.bitvec_AddSub_1539
import Test.Eval.bitvec_AddSub_1539_2
import Test.Eval.bitvec_AddSub_1556
import Test.Eval.bitvec_AddSub_1560
import Test.Eval.bitvec_AddSub_1564
import Test.Eval.bitvec_AddSub_1574
import Test.Eval.bitvec_AddSub_1614
import Test.Eval.bitvec_AddSub_1619
import Test.Eval.bitvec_AddSub_1624
import Test.Eval.bitvec_AndOrXor_1230__A__B___A__B
import Test.Eval.bitvec_AndOrXor_1241_AB__AB__AB
import Test.Eval.bitvec_AndOrXor_1247_AB__AB__AB
import Test.Eval.bitvec_AndOrXor_1253_A__AB___A__B
import Test.Eval.bitvec_AndOrXor_1280_ABA___AB
import Test.Eval.bitvec_AndOrXor_1288_A__B__B__C__A___A__B__C
import Test.Eval.bitvec_AndOrXor_1294_A__B__A__B___A__B
import Test.Eval.bitvec_AndOrXor_135
import Test.Eval.bitvec_AndOrXor_144
import Test.Eval.bitvec_AndOrXor_1683_1
import Test.Eval.bitvec_AndOrXor_1683_2
import Test.Eval.bitvec_AndOrXor_1704
import Test.Eval.bitvec_AndOrXor_1705
import Test.Eval.bitvec_AndOrXor_1733
import Test.Eval.bitvec_AndOrXor_2063__X__C1__C2____X__C2__C1__C2
import Test.Eval.bitvec_AndOrXor_2113___A__B__A___A__B
import Test.Eval.bitvec_AndOrXor_2118___A__B__A___A__B
import Test.Eval.bitvec_AndOrXor_2123___A__B__A__B___A__B
import Test.Eval.bitvec_AndOrXor_2188
import Test.Eval.bitvec_AndOrXor_2231__A__B__B__C__A___A__B__C
import Test.Eval.bitvec_AndOrXor_2243__B__C__A__B___B__A__C
import Test.Eval.bitvec_AndOrXor_2247__A__B__A__B
import Test.Eval.bitvec_AndOrXor_2263
import Test.Eval.bitvec_AndOrXor_2264
import Test.Eval.bitvec_AndOrXor_2265
import Test.Eval.bitvec_AndOrXor_2284
import Test.Eval.bitvec_AndOrXor_2285
import Test.Eval.bitvec_AndOrXor_2297
import Test.Eval.bitvec_AndOrXor_2367
import Test.Eval.bitvec_AndOrXor_2416
import Test.Eval.bitvec_AndOrXor_2417
import Test.Eval.bitvec_AndOrXor_2429
import Test.Eval.bitvec_AndOrXor_2430
import Test.Eval.bitvec_AndOrXor_2475
import Test.Eval.bitvec_AndOrXor_2486
import Test.Eval.bitvec_AndOrXor_2581__BAB___A__B
import Test.Eval.bitvec_AndOrXor_2587__BAA___B__A
import Test.Eval.bitvec_AndOrXor_2595
import Test.Eval.bitvec_AndOrXor_2607
import Test.Eval.bitvec_AndOrXor_2617
import Test.Eval.bitvec_AndOrXor_2627
import Test.Eval.bitvec_AndOrXor_2647
import Test.Eval.bitvec_AndOrXor_2658
import Test.Eval.bitvec_AndOrXor_2663
import Test.Eval.bitvec_AndOrXor_698
import Test.Eval.bitvec_AndOrXor_709
import Test.Eval.bitvec_AndOrXor_716
import Test.Eval.bitvec_AndOrXor_794
import Test.Eval.bitvec_AndOrXor_827
import Test.Eval.bitvec_AndOrXor_887_2
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions check_eval.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,5 @@ for path in $(find "${LIB}" -type f -name "*.lean" | sort); do
fi
done

# Compare with checked in results within [success|fail].txt
diff -u "${LIB}/success.txt" $RUN_SUCCESSES
ret1=$?
diff -u "${LIB}/fail.txt" $RUN_FAILS
exit $(($ret1 | $?))
exit $?

0 comments on commit 37285a4

Please sign in to comment.