Example program to test zero values (JMATH::zero).
More...
#include <iostream>
#include <iomanip>
#include "JMath/JZero.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
#define | PRINT(OUT, CLASS) print<CLASS>(OUT, #CLASS) |
|
|
int | main (int argc, char **argv) |
|
Example program to test zero values (JMATH::zero).
- Author
- mdejong
Definition in file JZero.cc.
◆ PRINT
#define PRINT |
( |
|
OUT, |
|
|
|
CLASS |
|
) |
| print<CLASS>(OUT, #CLASS) |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 97 of file JZero.cc.
105 JParser<> zap(
"Example program to test zero values of non-primitive data types.");
111 catch(
const exception &error) {
112 FATAL(error.what() << endl);
122 ASSERT(is_equal<int> (0));
123 ASSERT(is_equal<float> (0.0));
124 ASSERT(is_equal<double>(0.0));
125 ASSERT(is_equal<__A__> (__A__(0)));
#define ASSERT(A,...)
Assert macro.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define PRINT(OUT, CLASS)
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).