#![ warn( rust_2018_idioms ) ]
#![ warn( missing_debug_implementations ) ]
#![ warn( missing_docs ) ]
use instance_of as TheModule;
#[ allow( unused_imports ) ]
use test_tools::*;
fn implements_basic_test()
{
let src = Box::new( true );
a_id!( TheModule::implements!( src => Copy ), false );
a_id!( TheModule::implements!( src => Clone ), true );
}
fn instance_of_basic_test()
{
let src = Box::new( true );
a_id!( TheModule::instance_of!( src => Copy ), false );
a_id!( TheModule::instance_of!( src => Clone ), true );
}
test_suite!
{
implements_basic,
instance_of_basic,
}