Functions
test_partial.cxx File Reference
#include "WireCellSigProc/Diagnostics.h"
#include "WireCellUtil/Waveform.h"
#include "WireCellUtil/Testing.h"
#include <iostream>
#include <string>
#include <vector>
#include "example-partial-rc.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 18 of file test_partial.cxx.

19 {
20  auto spectrum = Waveform::dft(horig);
21  Diagnostics::Partial m_check_partial;
22  bool is_partial = m_check_partial(spectrum);
23  Assert(is_partial);
24 
25  return 0;
26 }
std::vector< float > horig
Definition: example-chirp.h:1
#define Assert
Definition: Testing.h:7
array_xxc dft(const array_xxf &arr)
Definition: Array.cxx:15