// Take a look at the license at the top of the repository in the LICENSE file.
// This test is used to ensure that the networks are not loaded by default.
#[test]fntest_networks(){usesysinfo::{NetworksExt, SystemExt};ifsysinfo::System::IS_SUPPORTED{let s =sysinfo::System::new();assert_eq!(s.networks().iter().count(),0);let s =sysinfo::System::new_all();assert!(s.networks().iter().count()>0);}}