Mercurial > hg > aimc
changeset 566:69c95fbc3634
* CARFAC_unittest.cpp
oops, did not compile. fixed
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Fri, 25 May 2012 11:34:55 +0000 |
parents | 3e2e0ab4f708 |
children | e4c2162baca8 |
files | branches/carfac_cpp/unittest/AGC_unittest.cpp branches/carfac_cpp/unittest/CARFAC_unittest.cpp |
diffstat | 2 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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()); }