Nsound
0.9.4
|
#include <Nsound/Buffer.h>
#include <Nsound/Plotter.h>
#include <Nsound/Triangle.h>
#include <Nsound/Wavefile.h>
#include "UnitTest.h"
#include <cmath>
#include <stdlib.h>
#include <iostream>
Go to the source code of this file.
Functions | |
void | Triangle_UnitTest () |
Variables | |
static const char * | THIS_FILE = "Triangle_UnitTest.cc" |
static const float64 | GAMMA = 1.5e-14 |
void Triangle_UnitTest | ( | ) |
Definition at line 51 of file Triangle_UnitTest.cc.
References Nsound::Buffer::abs(), Nsound::Generator::drawLine(), GAMMA, Nsound::Generator::generate(), Nsound::Buffer::getMax(), Nsound::Buffer::plot(), Nsound::Wavefile::setDefaultSampleSize(), Nsound::Wavefile::setIEEEFloat(), Nsound::Plotter::show(), SUCCESS, TEST_ERROR_HEADER, TEST_HEADER, and THIS_FILE.
Referenced by main().
|
static |
Definition at line 47 of file Triangle_UnitTest.cc.
Referenced by Triangle_UnitTest().
|
static |
Definition at line 49 of file Triangle_UnitTest.cc.
Referenced by Triangle_UnitTest().