Fix a test that wasn't testing the right thing.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 29 Aug 2011 17:54:20 +0000 (17:54 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 29 Aug 2011 17:54:20 +0000 (17:54 +0000)
commit9d74909378eb084ab55f407d134fb68f25c803a0
treeea67ce9e0e8fbe8fa8244aa01c70db159c880e1b
parent41dfabb0e301f319550731d46ba24a79b9fb0fdb
Fix a test that wasn't testing the right thing.

The APFloat "Zero" test was actually calling the
APFloat(const fltSemantics &, integerPart) constructor, and EXPECT_EQ was
treating 0 and -0 as equal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138745 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ADT/APFloatTest.cpp