mod_interface_runtime 0.1.1

Protocol of modularity unifying interface of a module and introducing layers.
Documentation
use super::*;
use TheModule::*;

//

tests_impls!
{

  #[ test ]
  fn basic()
  {
    // test.case( "basic" );
    let src = vec![ 1, 2, 3 ];
    let exp = ( vec![ 2, 3, 4 ], vec![ 0, 1, 2 ] );
    let got : ( Vec< _ >, Vec< _ > ) = src.iter().map( | e |
    {(
      e + 1,
      e - 1,
    )}).multiunzip();
    a_id!( got, exp );
  }

}

//

tests_index!
{
  basic,
}