You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"interleave_shuffle", # Replacing index += 1 with index *= 1 in a loop causes a timeout due to an infinite loop
16
+
17
+
# Trivial mutations
18
+
# These exlusions are allowing code blocks to run with artithmetic invloving zero and as a result do nothing
19
+
# payjoin/src/core/receive/v1/mod.rs
20
+
"replace > with >= in ProvisionalProposal::apply_fee",
21
+
# payjoin/src/core/send/mod.rs
22
+
"replace < with <= in PsbtContext::check_outputs",
23
+
"replace > with >= in PsbtContext::check_fees",
24
+
# payjoin/src/core/send/mod.rs
25
+
"replace < with <= in SenderBuilder<'a>::build_recommended", # clamping the fee contribution when the fee equals to the recommended fee does not do anything
26
+
27
+
# Async SystemTime comparison
28
+
# checking if the system time is equal to the expiry is difficult to reasonably test
29
+
# payjoin/src/core/receive/v2/mod.rs
30
+
"replace < with <= in Receiver<Initialized>::apply_unchecked_from_payload",
31
+
"replace > with >= in Receiver<Initialized>::create_poll_request",
32
+
"replace > with >= in extract_err_req",
33
+
# payjoin/src/core/send/v2/mod.rs
34
+
"replace > with >= in Sender<WithReplyKey>::create_v2_post_request",
35
+
36
+
# TODO exclusions
37
+
# payjoin/src/core/receive/v1/mod.rs
38
+
"replace > with >= in WantsInputs::avoid_uih", # This mutation I am unsure about whether or not it is a trivial mutant and have not decided on how the best way to approach testing it is
39
+
# payjoin/src/core/send/mod.rs
40
+
"replace match guard proposed_txout.script_pubkey == original_output.script_pubkey with true in PsbtContext::check_outputs", # This non-deterministic mutation has a possible test to catch it
0 commit comments