/usr/share/doc/freefem++/examples/examples++-3d/regtests.edp is in freefem++-doc 3.19.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | // Regression tests
// ----------------
// $Id$
// Regression tests
// ----------------
// The tests are checked against reference values by "make check" in
// each examples subdirectory
// "ref.edp" contains all reference values and may be rebuilt with
// "make Ref"
// $Id$
// The values tested here may not have a physical or mathematical
// meaning. Their main property is to gather numerical values from the
// whole domain, to be checked for consistency with previous runs.
NoUseOfWait=true;
int verbosityy=verbosity;
include "ref.edp";
// The values tested here may not have a physical or mathematical
// meaning. Their main property is to gather numerical values from the
// whole domain, to be checked for consistency with previous runs.
cout << "--------- file : 3d-Leman.edp -----------------" << endl;
verbosity=verbosityy;
{
include "3d-Leman.edp";
real TEST3dXLeman=vregtest;
cout<<"3d-Leman reference value = "<<REF3dXLeman
<<" test value ="<<TEST3dXLeman<<endl;
assert(TEST3dXLeman<REF3dXLeman*(1+0.1));
assert(TEST3dXLeman>REF3dXLeman*(1-0.1));
};
|