tests: Added GTests for base/bitfield.hh
authorBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 10 Oct 2019 23:02:46 +0000 (16:02 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 18 Oct 2019 22:06:28 +0000 (22:06 +0000)
commit36e59917a72b5d654b115bf995cbba659b069874
treef003e909008e579507a3226271953757fc8b2194
parent5cd8bd6d48026590bcce04b92231b55e82dad799
tests: Added GTests for base/bitfield.hh

In addition to the tests, a more detailed explanation of how
"insertBits(..)" functions has been included in its doxygen
documentation. The previous explanation was ambigious and led to
confusion.

Change-Id: I2ae8608733ebaa8f8f726cbb3a2cd8639b69c6b7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21700
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/base/SConscript
src/base/bitfield.hh
src/base/bitfield.test.cc [new file with mode: 0644]