function r8mat_flip_cols_test ( )

%*****************************************************************************80
%
%% R8MAT_FLIP_COLS_TEST tests R8MAT_FLIP_COLS.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    02 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8MAT_FLIP_COLS_TEST\n' );
  fprintf ( 1, '  R8MAT_FLIP_COLS "flips" the columns of a matrix;\n' );
 
  m = 5;
  n = 3;

  a = r8mat_indicator ( m, n );

  r8mat_print ( m, n, a, '  Matrix A:' );

  a2 = r8mat_flip_cols ( m, n, a );

  r8mat_print ( m, n, a2, '  Matrix after column flipping:' );

  return
end
