Macaulay2 Engine
Loading...
Searching...
No Matches

◆ sameSubset()

bool sameSubset ( const Subset & a,
const Subset & b )

Definition at line 114 of file SubsetTest.cpp.

115{
116 if (a.size() != b.size()) return false;
117 for (size_t i = 0; i < a.size(); i++)
118 if (a[i] != b[i]) return false;
119 return true;
120}

Referenced by TEST(), and TEST().