123456789101112131415 |
- //
- // Created by robin on 5/10/16.
- //
-
- #include <sstream>
- #include <string>
- #include <gtest/gtest.h>
- #include "Common.h"
-
- template <class T>
- void Common::testStream(const T& data, const std::string& ref) {
- std::ostringstream stream;
- stream << data;
- ASSERT_EQ(stream.str(), ref);
- }
|