c# - Assert all in A belongs to B and all in B belongs to A -
I am proud to claim this link:
bool Assert1 = (A selection of B.C.Centent (E, new TComparer ()) All (x => gt = x true); Bool assert2 = (B in A selection A concent & Lt; T & gt; (E, new TComparer ()). All (x => x == true); Assert (assert1 & amp;; assert2);
< P> It will check that A and B are equal to the same elements ie a ⊆ b and baa. Is there a great way to do this?
I will do this:
iComparier Comparator = new tepexper (); bool equal =! A.exept (b, thannar). Any () & amp;! B.Expect (A, Tollar). Any ();
Comments
Post a Comment