From 1cbff8d85cfbe210f90859d429b4688ba13c2914 Mon Sep 17 00:00:00 2001 From: hunghaoti Date: Thu, 2 May 2024 18:10:12 +0800 Subject: [PATCH 1/2] test push --- tests/Tensor_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Tensor_test.cpp b/tests/Tensor_test.cpp index 1f06c330..4f846913 100644 --- a/tests/Tensor_test.cpp +++ b/tests/Tensor_test.cpp @@ -2,6 +2,7 @@ #include "test_tools.h" TEST_F(TensorTest, Constructor) { + //just test Tensor A; EXPECT_EQ(A.dtype(), Type.Void); EXPECT_EQ(A.device(), Device.cpu); From 03cb3251c60ea517748aa7720db5fe1e3f78e82d Mon Sep 17 00:00:00 2001 From: hunghaoti Date: Thu, 2 May 2024 18:15:03 +0800 Subject: [PATCH 2/2] test push --- tests/Tensor_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tensor_test.cpp b/tests/Tensor_test.cpp index 4f846913..2380c05a 100644 --- a/tests/Tensor_test.cpp +++ b/tests/Tensor_test.cpp @@ -2,7 +2,7 @@ #include "test_tools.h" TEST_F(TensorTest, Constructor) { - //just test + // just test Tensor A; EXPECT_EQ(A.dtype(), Type.Void); EXPECT_EQ(A.device(), Device.cpu);