Ejemplo n.º 1
0
void OperatorOverloadingTest::check_map_item_default_constructor() {
  print_header( "map_item default constructor initializes to E" );

  MapItem item;

  print_test( item.getType() == 'E' );
}
Ejemplo n.º 2
0
void OperatorOverloadingTest::check_map_item_get_type() {
  print_header( "map_item sets type correctly" );

  MapItem item;
  item.setType( 'Z' );

  print_test( item.getType() == 'Z' );
}