diff options
Diffstat (limited to 'absl/numeric/int128_test.cc')
-rw-r--r-- | absl/numeric/int128_test.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/absl/numeric/int128_test.cc b/absl/numeric/int128_test.cc index ce44cd4b93c1..75fd6371040a 100644 --- a/absl/numeric/int128_test.cc +++ b/absl/numeric/int128_test.cc @@ -17,7 +17,6 @@ #include <algorithm> #include <limits> #include <random> -#include <sstream> #include <type_traits> #include <utility> #include <vector> @@ -427,26 +426,4 @@ TEST(Uint128, ConstexprTest) { EXPECT_EQ(minus_two, absl::MakeUint128(-1, -2)); } -TEST(Uint128, OStream) { - struct StreamCase { - absl::uint128 val; - std::ios_base::fmtflags flags; - std::streamsize width; - char fill; - const char* rep; - }; - - std::vector<StreamCase> cases = { -#include "absl/numeric/int128_test_unsigned_ostream_cases.inc" - }; - for (const StreamCase& test_case : cases) { - std::ostringstream os; - os.flags(test_case.flags); - os.width(test_case.width); - os.fill(test_case.fill); - os << test_case.val; - EXPECT_EQ(test_case.rep, os.str()); - } -} - } // namespace |