implement multicompare assert