| 4 | #include "gtest/gtest.h" |
| 5 | |
| 6 | USING_QPANDA |
| 7 | |
| 8 | |
| 9 | TEST(OriginPhysicalQubitInface, test) { |
| 10 | OriginPhysicalQubit oqubit = OriginPhysicalQubit(); |
| 11 | oqubit.setQubitAddr(1); |
| 12 | oqubit.setOccupancy(true); |
| 13 | EXPECT_EQ(1, oqubit.getQubitAddr()); |
| 14 | EXPECT_TRUE(oqubit.getOccupancy()); |
| 15 | } |
| 16 | |
| 17 | |
| 18 | TEST(OriginQubitInface, test) { |
nothing calls this directly
no test coverage detected