#include <iostream>
#include <gtest/gtest.h>
#include "robodyn_utilities/MedianFilter.h"
#include <ros/package.h>
#include <stdexcept>
#include <math.h>
#include <fstream>
Go to the source code of this file.
Classes | |
class | MedianFilterTest |
Functions | |
int | main (int argc, char **argv) |
TEST_F (MedianFilterTest, Zero) | |
TEST_F (MedianFilterTest, One) | |
TEST_F (MedianFilterTest, Three) | |
TEST_F (MedianFilterTest, Resize) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 88 of file MedianFilter_Test.cpp.
TEST_F | ( | MedianFilterTest | , |
Zero | |||
) |
if filter size is zero, expect the input to equal the output
Definition at line 22 of file MedianFilter_Test.cpp.
TEST_F | ( | MedianFilterTest | , |
One | |||
) |
if filter size is one, expect the input to equal the output
Definition at line 35 of file MedianFilter_Test.cpp.
TEST_F | ( | MedianFilterTest | , |
Three | |||
) |
if filter size is three, expect a median to take place
Definition at line 48 of file MedianFilter_Test.cpp.
TEST_F | ( | MedianFilterTest | , |
Resize | |||
) |
if filter size is three, expect a median to take place
Definition at line 64 of file MedianFilter_Test.cpp.