From a0949e91ce9b5e5ff3f5e7dde9c637d2809df0a4 Mon Sep 17 00:00:00 2001 From: Bruno JOFRET Date: Thu, 25 Sep 2014 08:55:55 +0200 Subject: [PATCH] Test in english Change-Id: I09ed9a64b0754b9c74d87b3bc151360389c8243f --- .../tests/nonreg_tests/bug_13512.dia.ref | 12 ++++++------ .../tests/nonreg_tests/bug_13512.tst | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.dia.ref b/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.dia.ref index 7dcf5eb..e2ad901 100644 --- a/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.dia.ref +++ b/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.dia.ref @@ -23,7 +23,7 @@ t = 1; // With initial yprime computation // The evaluation function purposely lacks the output argument 'ires' deff("ydot = f1(t, y)", "ydot = y^2 - y*sin(t) + cos(t)") -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("y = dae(y0, t0, t, f1);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' deff("[ydot,ires] = f2(t, y)", "ydot = y^2 - y*sin(t) + cos(t)"); @@ -32,7 +32,7 @@ assert_checkerror("y = dae(y0, t0, t, f2);", refMsg); // ---------------------------------- // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("y = dae([y0; 0], t0, t, f1);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' refMsg = msprintf(_("Wrong number of input arguments.")); @@ -43,7 +43,7 @@ deff("r = g(t, y)", "r = ones(y)"); // ------------------------------- // With initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' refMsg = msprintf(_("Wrong number of input arguments.")); @@ -51,7 +51,7 @@ assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f2, 1, g);", refMsg); // ---------------------------------- // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' refMsg = msprintf(_("Wrong number of input arguments.")); @@ -61,7 +61,7 @@ assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f2, 1, g);", refMsg); // ------------------------------- // With initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f1, 1, g);", refMsg); DASKR-- AT T (=R1) AND STEPSIZE H (=R2) THE DASKR-- INITIAL (Y,YPRIME) COULD NOT BE COMPUTED @@ -75,7 +75,7 @@ DASKR-- INITIAL (Y,YPRIME) COULD NOT BE COMPUTED // ---------------------------------- // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Variable returned by scilab argument function is incorrect.")); +refMsg = msprintf(_("Variable returned by scilab argument function is incorrect.\n")); assert_checkerror("[y, r] = dae(""root2"", [y0; 0], t0, t, f1, 1, g);", refMsg); DASKR-- AT T (=R1) AND STEPSIZE H (=R2) THE DASKR-- INITIAL (Y,YPRIME) COULD NOT BE COMPUTED diff --git a/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.tst b/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.tst index 01eb95f..a846655 100644 --- a/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.tst +++ b/scilab/modules/differential_equations/tests/nonreg_tests/bug_13512.tst @@ -28,7 +28,7 @@ t = 1; // The evaluation function purposely lacks the output argument 'ires' deff("ydot = f1(t, y)", "ydot = y^2 - y*sin(t) + cos(t)") -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("y = dae(y0, t0, t, f1);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' @@ -41,7 +41,7 @@ assert_checkerror("y = dae(y0, t0, t, f2);", refMsg); // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("y = dae([y0; 0], t0, t, f1);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' @@ -58,7 +58,7 @@ deff("r = g(t, y)", "r = ones(y)"); // With initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' @@ -69,7 +69,7 @@ assert_checkerror("[y, r] = dae(""root"", y0, t0, t, f2, 1, g);", refMsg); // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' @@ -84,7 +84,7 @@ assert_checkerror("[y, r] = dae(""root"", [y0; 0], t0, t, f2, 1, g);", refMsg); // With initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Wrong number of output arguments.")); +refMsg = msprintf(_("Wrong number of output arguments.\n")); assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' @@ -95,7 +95,7 @@ assert_checkerror("[y, r] = dae(""root2"", y0, t0, t, f2, 1, g);", refMsg); // Without initial yprime computation // The evaluation function purposely lacks the output argument 'ires' -refMsg = msprintf(_("Variable returned by scilab argument function is incorrect.")); +refMsg = msprintf(_("Variable returned by scilab argument function is incorrect.\n")); assert_checkerror("[y, r] = dae(""root2"", [y0; 0], t0, t, f1, 1, g);", refMsg); // The evaluation function purposely lacks the input argument 'ydot' -- 1.7.9.5