@@ -492,6 +492,27 @@ INSTANTIATE_TEST_SUITE_P(
492492 binary ()},
493493 LiteralRoundTripParam{" BinarySingleByte" , {42 }, Literal::Binary ({42 }), binary ()},
494494
495+ // Fixed type
496+ LiteralRoundTripParam{" FixedLength4" ,
497+ {0x01 , 0x02 , 0x03 , 0x04 },
498+ Literal::Fixed ({0x01 , 0x02 , 0x03 , 0x04 }, 4 ),
499+ fixed (4 )},
500+ LiteralRoundTripParam{
501+ " FixedLength8" ,
502+ {0xAA , 0xBB , 0xCC , 0xDD , 0xEE , 0xFF , 0x00 , 0x11 },
503+ Literal::Fixed ({0xAA , 0xBB , 0xCC , 0xDD , 0xEE , 0xFF , 0x00 , 0x11 }, 8 ),
504+ fixed (8 )},
505+ LiteralRoundTripParam{
506+ " FixedLength16" ,
507+ {0x00 , 0x01 , 0x02 , 0x03 , 0x04 , 0x05 , 0x06 , 0x07 , 0x08 , 0x09 , 0x0A , 0x0B , 0x0C ,
508+ 0x0D , 0x0E , 0x0F },
509+ Literal::Fixed ({0x00 , 0x01 , 0x02 , 0x03 , 0x04 , 0x05 , 0x06 , 0x07 , 0x08 , 0x09 ,
510+ 0x0A , 0x0B , 0x0C , 0x0D , 0x0E , 0x0F },
511+ 16 ),
512+ fixed (16 )},
513+ LiteralRoundTripParam{
514+ " FixedSingleByte" , {0xFF }, Literal::Fixed ({0xFF }, 1 ), fixed (1 )},
515+
495516 // Temporal types
496517 LiteralRoundTripParam{" DateEpoch" , {0 , 0 , 0 , 0 }, Literal::Date (0 ), date ()},
497518 LiteralRoundTripParam{" DateNextDay" , {1 , 0 , 0 , 0 }, Literal::Date (1 ), date ()},
0 commit comments