#[ allow( unused_imports ) ]
use super :: *;
#[ test ]
#[ cfg( not( feature = "no_std" ) ) ]
fn temp_dir_creation()
{
let temp_dir = the_module::TempDir::new();
assert!( temp_dir.base_path.as_os_str().is_empty() );
}
#[ test ]
#[ cfg( not( feature = "no_std" ) ) ]
fn temp_dir_path_access()
{
let temp_dir = the_module::TempDir::new();
let _ = &temp_dir.base_path;
let _ = &temp_dir.prefix_path;
let _ = &temp_dir.postfix_path;
}
#[ test ]
#[ cfg( not( feature = "no_std" ) ) ]
fn temp_dir_defaults()
{
let temp_dir = the_module::TempDir::new();
assert!( temp_dir.base_path.as_os_str().is_empty() );
assert!( temp_dir.prefix_path.as_os_str().is_empty() );
assert!( temp_dir.postfix_path.as_os_str().is_empty() );
}