# HG changeset patch # User Ulf.Hammarqvist@gmail.com # Date 1337945695 0 # Node ID 903b7354cdd8593e1d9bbfd8419bc7bcbc107f28 # Parent 83cd5bbf2a3e647e5fac66b7077155d07c5feb5d * CARFAC_unittest.cpp oops, did not compile. fixed diff -r 83cd5bbf2a3e -r 903b7354cdd8 unittest/AGC_unittest.cpp --- 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 diff -r 83cd5bbf2a3e -r 903b7354cdd8 unittest/CARFAC_unittest.cpp --- 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()); }