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

Commit

Permalink
Scaffold for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Apr 6, 2023
1 parent 118d4de commit 15c7135
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/VertexCore.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,17 @@ contract CreateActionBySig is VertexCoreTest {
// Assert event emission.
}

function test_CheckNonceIncrements() public {
// TODO
// This is a happy path test.
// Assert that nonce increments
}

function test_OperationCannotBeReplayed() public {
// TODO
// Check that operation with same parameters cannot be replayed.
}

function test_RevertIf_SignerIsNotPolicyHolder() public {
// TODO
// Reverts if user!=signer
Expand Down Expand Up @@ -867,6 +878,17 @@ contract CastApprovalBySig is VertexCoreTest {
// Assert event emission.
}

function test_CheckNonceIncrements() public {
// TODO
// This is a happy path test.
// Assert that nonce increments
}

function test_OperationCannotBeReplayed() public {
// TODO
// Check that operation with same parameters cannot be replayed.
}

function test_RevertIf_SignerIsNotPolicyHolder() public {
// TODO
// Reverts if user!=signer
Expand Down Expand Up @@ -953,6 +975,17 @@ contract CastDisapprovalBySig is VertexCoreTest {
// Assert event emission.
}

function test_CheckNonceIncrements() public {
// TODO
// This is a happy path test.
// Assert that nonce increments
}

function test_OperationCannotBeReplayed() public {
// TODO
// Check that operation with same parameters cannot be replayed.
}

function test_RevertIf_SignerIsNotPolicyHolder() public {
// TODO
// Reverts if user!=signer
Expand Down

0 comments on commit 15c7135

Please sign in to comment.