Skip to content

Commit

Permalink
WIP: Hardcoded trait reference work in property testing
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedRadone committed Jan 16, 2025
1 parent c7871e0 commit fbbb156
Show file tree
Hide file tree
Showing 8 changed files with 1,621 additions and 384 deletions.
28 changes: 14 additions & 14 deletions app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { join } from "path";
import { EventEmitter } from "events";
import { checkProperties } from "./property";
import { checkInvariants } from "./invariant";
// import { checkInvariants } from "./invariant";
import {
getContractNameFromContractId,
getFunctionsFromContractInterfaces,
Expand Down Expand Up @@ -133,19 +133,19 @@ export async function main() {
// If "invariant", call `checkInvariants` to verify contract invariants.
// If "test", call `checkProperties` for property-based testing.
switch (type) {
case "invariant": {
checkInvariants(
simnet,
sutContractName,
rendezvousList,
rendezvousAllFunctions,
seed,
path,
runs,
radio
);
break;
}
// case "invariant": {
// checkInvariants(
// simnet,
// sutContractName,
// rendezvousList,
// rendezvousAllFunctions,
// seed,
// path,
// runs,
// radio
// );
// break;
// }

case "test": {
checkProperties(
Expand Down
Loading

0 comments on commit fbbb156

Please sign in to comment.