function r8bto_to_r8ge_test ( )

%*****************************************************************************80
%
%% R8BTO_TO_R8GE_TEST tests R8BTO_TO_R8GE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 July 2016
%
%  Author:
%
%    John Burkardt
%
  l = 3;
  m = 2;
  n = m * l;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8BTO_TO_R8GE_TEST\n' );
  fprintf ( 1, '  R8BTO_TO_R8GE converts an R8BTO matrix to R8GE format\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Block order M =  %d\n', m );
  fprintf ( 1, '  Block number L = %d\n', l );
  fprintf ( 1, '  Matrix order N = %d\n', n );

  a = r8bto_indicator ( m, l );

  r8bto_print ( m, l, a, '  The R8BTO matrix:' );

  a_r8ge = r8bto_to_r8ge ( m, l, a );

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

  return
end
