Unit Tests - list.t

- Added listIntersect and a Boolean listDiff implementation in main.h.
- Added a set of unit tests for the above.
This commit is contained in:
Paul Beckingham 2009-12-13 12:30:49 -05:00
parent 42981c746e
commit 75e738a9c9
4 changed files with 144 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PROJECT = t.t tdb.t date.t duration.t t.benchmark.t text.t autocomplete.t \
config.t seq.t att.t stringtable.t record.t nibbler.t subst.t filt.t \
cmd.t util.t color.t
cmd.t util.t color.t list.t
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
LFLAGS = -L/usr/local/lib -lncurses
OBJECTS = ../TDB.o ../Task.o ../text.o ../Date.o ../Table.o ../Duration.o \
@ -78,3 +78,6 @@ util.t: util.t.o $(OBJECTS) test.o
color.t: color.t.o $(OBJECTS) test.o
g++ color.t.o $(OBJECTS) test.o $(LFLAGS) -o color.t
list.t: list.t.o $(OBJECTS) test.o
g++ list.t.o $(OBJECTS) test.o $(LFLAGS) -o list.t