changeset 505:903b7354cdd8 carfac_cpp

* CARFAC_unittest.cpp oops, did not compile. fixed
author Ulf.Hammarqvist@gmail.com
date Fri, 25 May 2012 11:34:55 +0000
parents 83cd5bbf2a3e
children e4285e69a73d
files unittest/AGC_unittest.cpp unittest/CARFAC_unittest.cpp
diffstat 2 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/unittest/AGC_unittest.cpp	Sun May 20 22:36:47 2012 +0000
+++ b/unittest/AGC_unittest.cpp	Fri May 25 11:34:55 2012 +0000
@@ -1,9 +1,4 @@
 #include "AGC.h"
 #include "gtest/gtest.h"
 
-// Tests Bar().
-TEST(BarTest, Foo) {
-  // This test is named "Foo", and belongs to the "BarTest"
-  // test case.
-  EXPECT_EQ(1, -2);
-}
+// Do tests here
--- a/unittest/CARFAC_unittest.cpp	Sun May 20 22:36:47 2012 +0000
+++ b/unittest/CARFAC_unittest.cpp	Fri May 25 11:34:55 2012 +0000
@@ -24,5 +24,5 @@
   int arbitrary_number = 1347;
 
   CARFAC* fooCarfac = new CARFAC(arbitrary_number, car_params, ihc_params, agc_params, 2);
-  EXPECT_EQ(fooCarfac->n_ears_, foobadooba->ears_.size());
+  EXPECT_EQ(fooCarfac->n_ears_, fooCarfac->ears_.size());
 }