gem5/test
Nathan Binkert de285ff2a0 Totally rework the Range class. Now the range is from [start, end)
to be consistent with the way that the stl works.  It also makes
lots of other stuff easier.  (Maybe those guys were smart?)
Overload the various comparison operators so that you can test
for overlapping of ranges, etc.

base/range.hh:
    Totally rework the Range class.  Now the range is from [start, end)
    to be consistent with the way that the stl works.  It also makes
    lots of other stuff easier.  (Maybe those guys were smart?)
    Overload the various comparison operators so that you can test
    for overlapping of ranges, etc.

    make parse function private and offer operator= instead
    isValid -> valid
    and for you erik, I add comments
test/Makefile:
    add range.o
test/rangetest.cc:
    better tests

--HG--
extra : convert_revision : dd58720aa3d02f20b03e933f2eaa3320c82bb27a
2004-02-07 01:16:50 -05:00
..
bitvectest.cc Import changeset 2003-10-07 10:41:54 -04:00
circletest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
cprintftest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
foo.ini New ini-file feature: += appends RHS to LHS. 2003-10-21 21:24:34 -07:00
initest.cc New ini-file feature: += appends RHS to LHS. 2003-10-21 21:24:34 -07:00
initest.ini Import changeset 2003-10-07 10:41:54 -04:00
lru_test.cc Import changeset 2003-10-07 10:41:54 -04:00
Makefile Totally rework the Range class. Now the range is from [start, end) 2004-02-07 01:16:50 -05:00
nmtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
offtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
paramtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
rangetest.cc Totally rework the Range class. Now the range is from [start, end) 2004-02-07 01:16:50 -05:00
sized_test.cc Global whitespace fixes 2003-10-15 16:39:37 -04:00
stattest.cc Make each stat take up one full line. This allows us to use grep 2004-01-15 16:33:58 -05:00
strnumtest.cc Make the to_number function work better. 2003-10-31 18:27:17 -05:00
symtest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tokentest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00
tracetest.cc Make include paths explicit and update makefile accordingly. 2003-10-10 11:09:00 -07:00