| 47 | } |
| 48 | |
| 49 | TEST(Datum, ImplicitConstructors) { |
| 50 | CheckImplicitConstructor<Scalar>(Datum::SCALAR); |
| 51 | |
| 52 | CheckImplicitConstructor<Array>(Datum::ARRAY); |
| 53 | |
| 54 | // Instantiate from array subclass |
| 55 | CheckImplicitConstructor<BinaryArray>(Datum::ARRAY); |
| 56 | |
| 57 | CheckImplicitConstructor<ChunkedArray>(Datum::CHUNKED_ARRAY); |
| 58 | CheckImplicitConstructor<RecordBatch>(Datum::RECORD_BATCH); |
| 59 | |
| 60 | CheckImplicitConstructor<Table>(Datum::TABLE); |
| 61 | } |
| 62 | |
| 63 | TEST(Datum, Constructors) { |
| 64 | Datum val(std::make_shared<Int64Scalar>(1)); |
nothing calls this directly
no test coverage detected