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