Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4b786a1
tests: add basic test helper functions
astral-bitlight May 22, 2025
7e8b576
refactor(tests): reorganize test module structure
astral-bitlight May 22, 2025
65321a5
tests: tentatively add test for CnG operation
astral-bitlight May 22, 2025
5c69ceb
tests: add create_default_op_info_transition function for OpInfo crea…
astral-bitlight May 22, 2025
935f5e8
fix: add missing newline
astral-bitlight May 22, 2025
1f8b673
refactor(tests): update imports and constants for clarity; update Moc…
astral-bitlight May 23, 2025
df019e0
fix(tests): update MockContractState to include rights_data and renam…
astral-bitlight May 23, 2025
2178d54
refactor(tests): add assignments_from_typed. rename dummy functions f…
astral-bitlight May 23, 2025
7b7ef09
feat(tests): add create_fungible_assign_vec and create_structured_ass…
astral-bitlight May 23, 2025
4ffc6be
feat(tests): add TestEnv struct with methods for managing assignments…
astral-bitlight May 26, 2025
5b11888
test(tests): add Count Operations tests for CnP, CnS, CnG, and CnC fu…
astral-bitlight May 26, 2025
907e0a3
fix(tests): assume depth is 1-based and fix related tests
astral-bitlight May 27, 2025
d5d9c97
test(tests): add sum verification tests for ContractOp::Svs functiona…
astral-bitlight May 28, 2025
3e73f00
test(tests): add SaS (Sum verify Assigned state) tests for ContractOp…
astral-bitlight May 28, 2025
fea78e6
test(tests): add SpS tests for ContractOp::Sps functionality
astral-bitlight May 29, 2025
5d11e35
test(tests): add VTS operation tests for ContractOp::Vts functionality
astral-bitlight May 29, 2025
4fd3870
test(tests): add tests for ContractOp instruction set and failure han…
astral-bitlight May 29, 2025
c9d8244
test(tests): add bytecode implementation tests for ContractOp
astral-bitlight May 29, 2025
fc07bd9
refactor(tests): clean up imports and simplify function signatures in…
astral-bitlight May 29, 2025
0fd9311
refactor(tests): remove unused function in contract tests
astral-bitlight May 29, 2025
812accc
refactor(tests): improve variable naming and update comments in load_…
astral-bitlight Jun 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/vm/op_contract.rs → src/vm/op_contract/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,3 +672,6 @@ impl<S: ContractStateAccess> Bytecode for ContractOp<S> {
})
}
}

#[cfg(test)]
mod tests;
Loading