rust-bitcoin-unsafe-fast/primitives/src
Martin Habovstiak 3551ec2c69 Don't access internalls of `Witness` in tests
Accessing the internals of tested object is problematic because it makes
changes to layout harder, it makes tests harder to read and it checks
implementation details rather than semantics of the API (behvaior).

We had such tests in `primitives::witness` so this changes them to use
the newly added APIs instead. However, it still leaves
`from_parts__unstable` which needs to be dealt with separately.
2025-03-23 21:23:32 +01:00
..
locktime Increase test coverage in relative.rs 2025-03-18 14:30:50 +00:00
script primitives: Enable pedantic lints 2025-03-06 10:58:17 +11:00
block.rs Merge rust-bitcoin/rust-bitcoin#4219: Rename then new `Timestamp` type 2025-03-13 15:13:31 +00:00
lib.rs Merge rust-bitcoin/rust-bitcoin#4219: Rename then new `Timestamp` type 2025-03-13 15:13:31 +00:00
merkle_tree.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
opcodes.rs 2025-03-16 automated rustfmt nightly 2025-03-16 01:25:25 +00:00
pow.rs primitives: Enable pedantic lints 2025-03-06 10:58:17 +11:00
sequence.rs primitives: Enable pedantic lints 2025-03-06 10:58:17 +11:00
taproot.rs Move taproot back to bitcoin crate 2025-02-26 15:45:49 +11:00
transaction.rs 2025-03-16 automated rustfmt nightly 2025-03-16 01:25:25 +00:00
witness.rs Don't access internalls of `Witness` in tests 2025-03-23 21:23:32 +01:00