use of org.projectnessie.cel.common.types.MapT.MapType in project cel-java by projectnessie.
the class TypeTest method typeConvertToType.
@Test
void typeConvertToType() {
Type[] stdTypes = new Type[] { BoolType, BytesType, DoubleType, DurationType, IntType, ListType, MapType, NullType, StringType, TimestampType, TypeType, UintType };
for (Type stdType : stdTypes) {
Val cnv = stdType.convertToType(TypeType);
assertThat(cnv).isEqualTo(TypeType);
}
}
Aggregations