#![allow(unused_imports)]
use super :: *;
test_tools ::tests_impls! {
fn debug_assert_id_pass()
{
the_module ::debug_assert_id!( 1, 1 );
}
#[ cfg( debug_assertions ) ]
#[ should_panic( expected = "assertion `left == right` failed" ) ]
fn debug_assert_id_fail()
{
the_module ::debug_assert_id!( 1, 2 );
}
fn debug_assert_identical_pass()
{
the_module ::debug_assert_identical!( 1, 1 );
}
#[ cfg( debug_assertions ) ]
#[ should_panic( expected = "assertion `left == right` failed" ) ]
fn debug_assert_identical_fail()
{
the_module ::debug_assert_identical!( 1, 2 );
}
fn debug_assert_ni_pass()
{
the_module ::debug_assert_ni!( 1, 2 );
}
#[ cfg( debug_assertions ) ]
#[ should_panic( expected = "assertion `left != right` failed" ) ]
fn debug_assert_ni_fail()
{
the_module ::debug_assert_ni!( 1, 1 );
}
fn debug_assert_not_identical_pass()
{
the_module ::debug_assert_not_identical!( 1, 2 );
}
#[ cfg( debug_assertions ) ]
#[ should_panic( expected = "assertion `left != right` failed" ) ]
fn debug_assert_not_identical_fail()
{
the_module ::debug_assert_not_identical!( 1, 1 );
}
}
test_tools ::tests_index! {
debug_assert_id_pass,
debug_assert_id_fail,
debug_assert_identical_pass,
debug_assert_identical_fail,
debug_assert_ni_pass,
debug_assert_ni_fail,
debug_assert_not_identical_pass,
debug_assert_not_identical_fail,
}