Add benchmark functions to the checksum unit tests
authorBrian Pane <brianp@fb.com>
Thu, 23 Jan 2014 16:47:40 +0000 (08:47 -0800)
committerSara Golemon <sgolemon@fb.com>
Thu, 6 Feb 2014 19:50:13 +0000 (11:50 -0800)
commit20697de273f09b5bd7d2bbdfa39bae3c81bef413
tree27de00c7abe35a35166fface3660a6647a50d21f
parent8c54ed8b5d71b83d5cdc047a67b252938ec82bba
Add benchmark functions to the checksum unit tests

Summary:
* Added benchmark functions to the checksum unit tests
* While in the code, fixed the order of the arguments to
the EXPECT_EQ statements so the tests will report the
actual and expected values properly upon error

Test Plan:
fbconfig -r folly && fbmake opt
_build/opt/folly/test/checksum_test --benchmark

Reviewed By: rajat@fb.com

FB internal diff: D1134930
folly/test/ChecksumTest.cpp