# HG changeset patch # User Ulf.Hammarqvist@gmail.com # Date 1337945695 0 # Node ID 69c95fbc36340934812a90ca79611a9245e3b4c6 # Parent 3e2e0ab4f708dc238c6845f0ded9baf2bac5253c * CARFAC_unittest.cpp oops, did not compile. fixed diff -r 3e2e0ab4f708 -r 69c95fbc3634 branches/carfac_cpp/unittest/AGC_unittest.cpp --- a/branches/carfac_cpp/unittest/AGC_unittest.cpp Thu May 24 22:26:56 2012 +0000 +++ b/branches/carfac_cpp/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 3e2e0ab4f708 -r 69c95fbc3634 branches/carfac_cpp/unittest/CARFAC_unittest.cpp --- a/branches/carfac_cpp/unittest/CARFAC_unittest.cpp Thu May 24 22:26:56 2012 +0000 +++ b/branches/carfac_cpp/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()); }