Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19252181
test_definiteIntegrals.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
614 B
Referenced Files
None
Subscribers
None
test_definiteIntegrals.cc
View Options
#include
"UnitTest++.h"
#include
"npstat/nm/definiteIntegrals.hh"
using
namespace
npstat
;
namespace
{
TEST
(
definiteIntegral_1
)
{
const
double
eps
=
1.0e-12
;
CHECK_CLOSE
(
0.62165214738308075
,
definiteIntegral_1
(
1
,
1
,
1
/
8.0
,
1
/
3.0
),
eps
);
CHECK_CLOSE
(
-
0.62165214738308075
,
definiteIntegral_1
(
1
,
1
,
1
/
3.0
,
1
/
8.0
),
eps
);
CHECK_CLOSE
(
2.1427634890808802
,
definiteIntegral_1
(
-
1
,
2
,
1
/
7.0
,
7
/
9.0
),
eps
);
CHECK_CLOSE
(
4.3679492644489094
,
definiteIntegral_1
(
3
,
-
5
,
6
/
7.0
,
1
/
4.0
),
eps
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 6:14 AM (7 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6560383
Default Alt Text
test_definiteIntegrals.cc (614 B)
Attached To
Mode
rNPSTATSVN npstatsvn
Attached
Detach File
Event Timeline
Log In to Comment