test_tools 0.17.0

Tools for writing and running tests.
Documentation
#[ allow( unused_imports ) ]
use super ::the_module :: *;

the_module ::tests_impls!
{

  //

  fn pass1_test()
  {
  the_module ::a_id!( true, true );
 }

  //

  fn fail1_test()
  {
  // a_id!( true, false );
 }

  //

  #[ cfg(any()) ]
  fn never_test()
  {
  println!( "never_test" );
 }

  //

  #[ cfg(all()) ]
  fn always_test()
  {
  println!( "always_test" );
 }

}

//

the_module ::tests_index!
{
  pass1_test,
  fail1_test,
  never_test,
  always_test,
}