function is_octave_test ( )

%*****************************************************************************80
%
%% is_octave_test() tests is_octave().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    19 December 2019
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'is_octave_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  is_octave() reports whether Octave is calling.\n' );

  value = is_octave ( );

  fprintf ( 1, '\n' );
  if ( value )
    fprintf ( 1, '  The calling program is octave.\n' );
  else
    fprintf ( 1, '  The calling program is MATLAB\n' );
  end

  return
end

