- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 21 - 30 of 464 for test (0.04 sec)
-
RefCell<T> and the Interior Mutability Pattern ...
1fa246dbde) running 1 test test tests::it_sends_an_over_75_p...running tests. Mock objects are specific types of test doubles...doc.rust-lang.org/book/ch15-05-interior-mutability.htmlRegistered: Fri Apr 26 01:24:55 UTC 2024 - Last Modified: Tue Apr 09 21:19:22 UTC 2024 - 61.7K bytes - Viewed (0) -
std::arch - Rust
block is safe because we're testing // that the `avx2` feature...etected AArch64 This macro tests, at runtime, whether an aarch64...doc.rust-lang.org/std/arch/index.htmlRegistered: Fri Apr 26 01:29:22 UTC 2024 - Last Modified: Tue Apr 09 21:26:44 UTC 2024 - 32.5K bytes - Viewed (0) -
Mask in std::simd - Rust
source pub unsafe fn test_unchecked (&self, index: usize...API. ( portable_simd #86656 ) Tests the value of the specified element....doc.rust-lang.org/std/simd/struct.Mask.htmlRegistered: Fri Apr 26 02:01:24 UTC 2024 - Last Modified: Tue Apr 09 21:26:57 UTC 2024 - 226.1K bytes - Viewed (0) -
bench in std::prelude::v1 - Rust
( test #50297 ) Expand description...to turn it into a benchmark test....doc.rust-lang.org/std/prelude/v1/attr.bench.htmlRegistered: Fri Apr 26 02:31:25 UTC 2024 - Last Modified: Tue Apr 09 21:26:55 UTC 2024 - 4.8K bytes - Viewed (0) -
std::prelude::v1 - Rust
test Attribute macro applied to a...function to turn it into a unit test. alloc_error_handler Experimental...doc.rust-lang.org/std/prelude/v1/index.htmlRegistered: Fri Apr 26 03:36:42 UTC 2024 - Last Modified: Tue Apr 09 21:26:55 UTC 2024 - 20.9K bytes - Viewed (0) -
must_use in std::hint - Rust
Error> #[test] fn t() { // Assert that `f`...doc.rust-lang.org/std/hint/fn.must_use.htmlRegistered: Fri Apr 26 02:35:58 UTC 2024 - Last Modified: Tue Apr 09 21:26:46 UTC 2024 - 11.9K bytes - Viewed (0) -
Managing Growing Projects with Packages, Crates...
test, and share crates Crates: A...related concept is scope: the nested context in which code is written...doc.rust-lang.org/book/ch07-00-managing-growing-projects-with-packages-crates-and-modules.htmlRegistered: Fri Apr 26 01:22:56 UTC 2024 - Last Modified: Tue Apr 09 21:19:15 UTC 2024 - 30.3K bytes - Viewed (0) -
Working with Environment Variables - The Rust P...
running 2 tests test tests::case_insensitive ... ok test tests::case_sensitive...results } #[cfg(test)] mod tests { use super::*; #[test] fn case_sensitive()...doc.rust-lang.org/book/ch12-05-working-with-environment-variables.htmlRegistered: Fri Apr 26 01:27:16 UTC 2024 - Last Modified: Tue Apr 09 21:19:21 UTC 2024 - 59K bytes - Viewed (0) -
black_box in std::hint - Rust
optimize away part of the intended test code based on context. For example:...can only be) provided on a “best-effort” basis. The extent to...doc.rust-lang.org/std/hint/fn.black_box.htmlRegistered: Fri Apr 26 02:33:51 UTC 2024 - Last Modified: Tue Apr 09 21:26:46 UTC 2024 - 10.5K bytes - Viewed (0) -
To panic! or Not to panic! - The Rust Programmi...
call fails in a test, you’d want the whole test to fail, even if...functionality under test. Because panic! is how a test is marked as...doc.rust-lang.org/book/ch09-03-to-panic-or-not-to-panic.htmlRegistered: Fri Apr 26 01:25:27 UTC 2024 - Last Modified: Tue Apr 09 21:19:15 UTC 2024 - 44.2K bytes - Viewed (0)