From 343d9e13654a07c348fad863f7f79a03896c6bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 13 Apr 2022 13:09:12 +0200 Subject: [PATCH] Use Unicode copyright symbol (in UTF-8 encoding) in all source files It is now supported by the MATLAB editor (as of R2022a). --- src/build_report_summary.m | 2 +- src/dassert.m | 2 +- src/display_report.m | 2 +- src/dtest.m | 2 +- src/get_directory_description.m | 2 +- src/initialize_unit_tests_toolbox.m | 2 +- src/is_unitary_test_available.m | 2 +- src/missing/isoctave/isoctave.m | 2 +- src/missing/skipline/skipline.m | 2 +- src/mtest.m | 2 +- src/run_unitary_tests.m | 2 +- src/run_unitary_tests_in_directory.m | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/build_report_summary.m b/src/build_report_summary.m index d6a5e37..1f76cc3 100644 --- a/src/build_report_summary.m +++ b/src/build_report_summary.m @@ -10,7 +10,7 @@ function str = build_report_summary(reportfile, printonscreen, mailreport) % OUTPUTS % - str [string] Report summary. -% Copyright (C) 2013-2018 Dynare Team +% Copyright © 2013-2018 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/dassert.m b/src/dassert.m index 686ffe5..a7ce444 100644 --- a/src/dassert.m +++ b/src/dassert.m @@ -2,7 +2,7 @@ function t = dassert(A,B,tol) % This function tests the equality of two objects. -% Copyright (C) 2011-2020 Dynare Team +% Copyright © 2011-2020 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/display_report.m b/src/display_report.m index cfe343b..c23ab87 100644 --- a/src/display_report.m +++ b/src/display_report.m @@ -8,7 +8,7 @@ function display_report(r) % OUTPUTS % none -% Copyright (C) 2018 Dynare Team +% Copyright © 2018 Dynare Team % % This file is part of Dynare. % diff --git a/src/dtest.m b/src/dtest.m index 226b2ce..2d1a76f 100644 --- a/src/dtest.m +++ b/src/dtest.m @@ -18,7 +18,7 @@ function dtest(fun, tpath) % % See also mtest -% Copyright (C) 2011-2017 Dynare Team +% Copyright © 2011-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/get_directory_description.m b/src/get_directory_description.m index 427bb05..4039fdd 100644 --- a/src/get_directory_description.m +++ b/src/get_directory_description.m @@ -8,7 +8,7 @@ function flist = get_directory_description(basedir) % OUTPUTS % - flist [cell of strings], the files under basedir (and subfolders). -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/initialize_unit_tests_toolbox.m b/src/initialize_unit_tests_toolbox.m index 8832723..5b6b527 100644 --- a/src/initialize_unit_tests_toolbox.m +++ b/src/initialize_unit_tests_toolbox.m @@ -1,4 +1,4 @@ -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/is_unitary_test_available.m b/src/is_unitary_test_available.m index b208492..fc18b5d 100644 --- a/src/is_unitary_test_available.m +++ b/src/is_unitary_test_available.m @@ -9,7 +9,7 @@ function info = is_unitary_test_available(fun) % OUTPUTS % - info [integer], scalar equal to 1 if unitary tests must be run, 0 otherwise. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/missing/isoctave/isoctave.m b/src/missing/isoctave/isoctave.m index 7f6ac8f..db1d878 100644 --- a/src/missing/isoctave/isoctave.m +++ b/src/missing/isoctave/isoctave.m @@ -2,7 +2,7 @@ function l = isoctave() % Tests if Octave is used. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/missing/skipline/skipline.m b/src/missing/skipline/skipline.m index 575787d..a1708d6 100644 --- a/src/missing/skipline/skipline.m +++ b/src/missing/skipline/skipline.m @@ -10,7 +10,7 @@ function skipline(n, fid) % None % -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/mtest.m b/src/mtest.m index 50634c4..a666c51 100644 --- a/src/mtest.m +++ b/src/mtest.m @@ -24,7 +24,7 @@ function [check, info] = mtest(fname, fpath) % - If two input arguments are provided, fname is the base name of the targeted % matlab routine and fpath is the path to this routine. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % diff --git a/src/run_unitary_tests.m b/src/run_unitary_tests.m index 0232a32..6f4920d 100644 --- a/src/run_unitary_tests.m +++ b/src/run_unitary_tests.m @@ -14,7 +14,7 @@ function [report, time] = run_unitary_tests(listoffiles) % % See also get_directory_description, mtest -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/run_unitary_tests_in_directory.m b/src/run_unitary_tests_in_directory.m index da210db..9855345 100644 --- a/src/run_unitary_tests_in_directory.m +++ b/src/run_unitary_tests_in_directory.m @@ -16,7 +16,7 @@ function report = run_unitary_tests_in_directory(dirname, savereport, printrepor % % See also get_directory_description, run_unitary_tests, build_report_summary -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare (m-unit-tests module). % -- GitLab