On Saturday, 12 January 2019 at 15:34:02 UTC, Seb wrote: > void main() > { > int a = 1, b = 2; > assert(a == b); // ERROR: 1 != 2 > } But 1!=2 is true :) Maybe do it the C way "assertion 1 == 2 failed"? Also there's in operator.