annotate unittest/AGC_unittest.cpp @ 503:83cd5bbf2a3e carfac_cpp

* 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 903b7354cdd8
rev   line source
Ulf@503 1 #include "AGC.h"
Ulf@503 2 #include "gtest/gtest.h"
Ulf@503 3
Ulf@503 4 // Tests Bar().
Ulf@503 5 TEST(BarTest, Foo) {
Ulf@503 6 // This test is named "Foo", and belongs to the "BarTest"
Ulf@503 7 // test case.
Ulf@503 8 EXPECT_EQ(1, -2);
Ulf@503 9 }