[coco] Remove unnecessary Instr::ctor test (#919)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 7 Aug 2018 03:40:34 +0000 (12:40 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 7 Aug 2018 03:40:34 +0000 (12:40 +0900)
This commit removes Instr::ctor test as it currently tests methods
implemented in coco::DLinkedList<...>::Node.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/src/IR/Instr.test.cpp

index 7e4c288..97d53b8 100644 (file)
@@ -3,16 +3,6 @@
 
 #include <gtest/gtest.h>
 
-TEST(IR_INSTR, ctor)
-{
-  coco::PtrLink<coco::Instr, coco::Block> link;
-  coco::Instr ins{&link};
-
-  ASSERT_EQ(ins.parent(), nullptr);
-  ASSERT_EQ(ins.prev(), nullptr);
-  ASSERT_EQ(ins.next(), nullptr);
-}
-
 TEST(IR_FEATURE_INSTR, ctor)
 {
   coco::PtrLink<coco::Instr, coco::Block> link;