aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/strings/strcat_test.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-21 13:08:02 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-21 13:10:39 -0700
commit6741f81b8216862a83703122191a8632fda333a2 (patch)
treef5a89ad417cfe7751c25578fe4815510527d3708 /tensorflow/core/lib/strings/strcat_test.cc
parenta6a7de3d36a154e4382283a804531f148fca6c9b (diff)
Make strcat.{h,cc} independent of Eigen.
PiperOrigin-RevId: 189954596
Diffstat (limited to 'tensorflow/core/lib/strings/strcat_test.cc')
-rw-r--r--tensorflow/core/lib/strings/strcat_test.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/core/lib/strings/strcat_test.cc b/tensorflow/core/lib/strings/strcat_test.cc
index 7cb186e637..8cc64a6f0a 100644
--- a/tensorflow/core/lib/strings/strcat_test.cc
+++ b/tensorflow/core/lib/strings/strcat_test.cc
@@ -17,7 +17,6 @@ limitations under the License.
#include <string>
-#include "third_party/eigen3/Eigen/Core"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/types.h"
@@ -131,11 +130,6 @@ TEST(StrCat, Basics) {
result = tensorflow::strings::StrCat("A hundred K and a half squared is ", d);
EXPECT_EQ(result, "A hundred K and a half squared is 10000100000.25");
- Eigen::half h(10007.0f);
- result =
- tensorflow::strings::StrCat("Ten thousand seven is approximately ", h);
- EXPECT_EQ(result, "Ten thousand seven is approximately 10008");
-
result = tensorflow::strings::StrCat(1, 2, 333, 4444, 55555, 666666, 7777777,
88888888, 999999999);
EXPECT_EQ(result, "12333444455555666666777777788888888999999999");