function r8bb_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8BB_TO_R8GE_TEST tests R8BB_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 July 2016
%
%  Author:
%
%    John Burkardt
%
  n1 = 6;
  n2 = 2;
  n = n1 + n2;
  ml = 1;
  mu = 1;
  na = ( 2 * ml + mu + 1 ) * n1 + 2 * n1 * n2 + n2 * n2;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8BB_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8BB_TO_R8GE converts an R8BB matrix to R8GE format.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Matrix order N     = %d\n', n );
  fprintf ( 1, '  Matrix suborder N1 = %d\n', n1 );
  fprintf ( 1, '  Matrix suborder N2 = %d\n', n2 );
  fprintf ( 1, '  Lower bandwidth ML = %d\n', ml );
  fprintf ( 1, '  Upper bandwidth MU = %d\n', mu );
%
%  Set the matrix.
%
  a = r8bb_indicator ( n1, n2, ml, mu );

  r8bb_print ( n1, n2, ml, mu, a, '  The R8BB matrix:' );

  a_r8ge = r8bb_to_r8ge ( n1, n2, ml, mu, a );

  r8ge_print ( n, n, a_r8ge, '  The R8GE matrix:' );

  return
end
