unittests: Make the expected value the first argument in EXPECT_EQ [NFC]
commit797d326961cefd997e2b6692f01f2512514d791f
authorTobias Grosser <tobias@grosser.es>
Fri, 26 Aug 2016 12:25:08 +0000 (26 12:25 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 26 Aug 2016 12:25:08 +0000 (26 12:25 +0000)
tree7b674bb1e074f37a7a938cfb85247159b50a3a78
parent1ccd7b70cfa4980cf0d87577a76318055503b263
unittests: Make the expected value the first argument in EXPECT_EQ [NFC]

This improves the readability of failing test results, as gtest prints always
the first argument as the 'expected value'.

In the previous commit we already changed the tests for isl_valFromAPInt. In
this commit, the tests for IslValToAPInt follow.

Suggested-by: Michael Kruse <llvm@meinersbur.de>
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@279817 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Isl/IslTest.cpp