// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // //! Test that captures how Kani implements various redundant checks //! for the same operation. This can be confusing for the user, since //! the duplicated check will always succeed, even when the first check fails. //! use std::hint::black_box; #[kani::proof] fn check_division() { black_box(kani::any::() / kani::any::()); } #[kani::proof] fn check_remainder() { black_box(kani::any::() % kani::any::()); }