#include "SampleDatum.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <complex>
#include <cstring>
Go to the source code of this file.
|
template<typename abscissa_type , typename ordinate_type > |
void | test () |
|
int | main (int argc, char *argv[]) |
|
◆ test()
template<typename abscissa_type , typename ordinate_type >
Definition at line 39 of file SampleDatumTest.cpp.
44 v.push_back(sd_type(1,2));
45 v.push_back(sd_type(3,4));
46 v.push_back(sd_type(5,6));
50 copy(v.begin(), v.end(), ostream_iterator<sd_type>(oss,
"\n"));
51 if (
os_) *
os_ << oss.str();
55 istringstream iss(oss.str());
56 copy(istream_iterator<sd_type>(iss), istream_iterator<sd_type>(), back_inserter(w));
References os_, and unit_assert.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ os_