Beispiel #1
0
 public void Can_get_converters_for_int_enums()
 {
     AssertConverters(
         _selector.Select(typeof(Queen)).ToList(),
         (typeof(EnumToNumberConverter <Queen, int>), default),
         (typeof(EnumToNumberConverter <Queen, long>), default),
Beispiel #2
0
 public void Can_get_converters_for_int_enum_arrays()
 => AssertConverters(
     _selector.Select(typeof(Queen[])).ToList(),
     (typeof(NpgsqlArrayConverter <Queen[], int[]>), default),
     (typeof(NpgsqlArrayConverter <Queen[], long[]>), default),