annotate branches/carfac_cpp/unittest/AGC_unittest.cpp @ 564:9c4c3675c3f8

* Added class Ear, and moved the CARFAC members AGC CAR IHC into Ear. CARFAC now holds an array of Ear. TBD what is best. * Moved the files around, and introduced a makefile that builds unittests using GTest. (Note, GTest path is configured in makefile atm.). - two moronic tests implemented. :)
author Ulf.Hammarqvist@gmail.com
date Sun, 20 May 2012 22:36:47 +0000
parents
children 69c95fbc3634
rev   line source
Ulf@564 1 #include "AGC.h"
Ulf@564 2 #include "gtest/gtest.h"
Ulf@564 3
Ulf@564 4 // Tests Bar().
Ulf@564 5 TEST(BarTest, Foo) {
Ulf@564 6 // This test is named "Foo", and belongs to the "BarTest"
Ulf@564 7 // test case.
Ulf@564 8 EXPECT_EQ(1, -2);
Ulf@564 9 }