- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 41 - 50 of 473 for test (0.04 sec)
-
is_x86_feature_detected in std - Rust
Expand description A macro to test at runtime whether a CPU feature...literal of the feature being tested for. The feature names supported...doc.rust-lang.org/std/macro.is_x86_feature_detected.htmlRegistered: Fri May 10 01:38:41 UTC 2024 - Last Modified: Thu May 02 12:26:23 UTC 2024 - 11.1K 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 May 10 01:27:19 UTC 2024 - Last Modified: Thu May 02 12:18:20 UTC 2024 - 30.3K 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 May 10 02:41:51 UTC 2024 - Last Modified: Thu May 02 12:26:18 UTC 2024 - 10.7K bytes - Viewed (0) -
FileType in std::fs - Rust
pub fn is_dir (&self) -> bool Tests whether this file type represents...; only zero or one of these tests may pass. § Examples fn main()...doc.rust-lang.org/std/fs/struct.FileType.htmlRegistered: Fri May 10 02:04:00 UTC 2024 - Last Modified: Thu May 02 12:26:18 UTC 2024 - 46.3K bytes - Viewed (0) -
Refactoring to Improve Modularity and Error Han...
harder to test, and harder to change without...task at hand. Because you can’t test the main function directly,...doc.rust-lang.org/book/ch12-03-improving-error-handling-and-modularity.htmlRegistered: Fri May 10 01:28:38 UTC 2024 - Last Modified: Thu May 02 12:18:16 UTC 2024 - 72.3K bytes - Viewed (0) -
Ipv4Addr in std::net - Rust
0/24 (TEST-NET-1) 198.51.100.0/24 (TEST-NET-2) 203.0.113.0/24...203.0.113.0/24 (TEST-NET-3) § Examples use std::net::Ipv4Addr; assert_eq!...doc.rust-lang.org/std/net/struct.Ipv4Addr.htmlRegistered: Fri May 10 02:10:14 UTC 2024 - Last Modified: Thu May 02 12:26:24 UTC 2024 - 155.1K 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 May 10 01:28:14 UTC 2024 - Last Modified: Thu May 02 12:18:22 UTC 2024 - 58.4K bytes - Viewed (0) -
std::intrinsics::mir - Rust
reasons you are not writing rustc tests and have found yourself considering...those things which the rustc test suite happened to need. If you...doc.rust-lang.org/std/intrinsics/mir/index.htmlRegistered: Fri May 10 03:44:36 UTC 2024 - Last Modified: Thu May 02 12:26:20 UTC 2024 - 28.7K bytes - Viewed (0) -
Cursor in std::io - Rust
// now let's write a test #[test] fn test_writes_bytes() { //...an in-memory buffer in our tests. We can do this with Cursor...doc.rust-lang.org/std/io/struct.Cursor.htmlRegistered: Fri May 10 02:07:25 UTC 2024 - Last Modified: Thu May 02 12:26:21 UTC 2024 - 115.1K bytes - Viewed (0) -
Bringing Paths Into Scope with the use Keyword ...
when testing to bring everything under test into the tests module;...about that in the “How to Write Tests” section in Chapter 11. The...doc.rust-lang.org/book/ch07-04-bringing-paths-into-scope-with-the-use-keyword.htmlRegistered: Fri May 10 01:29:34 UTC 2024 - Last Modified: Thu May 02 12:18:16 UTC 2024 - 48.1K bytes - Viewed (0)