Docs.rs
dao-testing-0.1.0
dao-testing 0.1.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
JakeHartnell
github:da0-da0:publishers
Dependencies
cosmwasm-std ^1.0.0
normal
cw-multi-test ^0.13
normal
dao-voting ^0.1.0
normal
rand ^0.8
normal
Versions
33.33%
of the crate is documented
This release has been yanked, go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module tests
Structs
Enums
Functions
?
Module
dao_testing
::
tests
source
·
[
−
]
Structs
TestVote
Enums
ShouldExecute
If a test vote should execute. Used for fuzzing and checking that votes after a proposal has completed aren’t allowed.
Functions
fuzz_voting
test_majority_vs_half
test_no_double_votes
test_pass_exactly_quorum
test_pass_threshold_not_quorum
test_simple_early_rejection
test_simple_vote_no_overflow
test_simple_votes
test_tricky_rounding
test_vote_abstain_only
test_vote_no_overflow
test_votes_favor_yes
test_votes_low_threshold