function assertArrayContains(actual, expected, msg) {
  const missing = [];
  for (let i = 0; i < expected.length; i++) {
    let found = false;
    for (let j = 0; j < actual.length; j++) {
      if (equal(expected[i], actual[j])) {
        found = true;
        break;
      }
    }
    if (!found) {
      missing.push(expected[i]);
    }
  }
  if (missing.length === 0) {
    return;
  }
  if (!msg) {
    msg = `actual: "${actual}" expected to contains: "${expected}"`;
    msg += "\n";
    msg += `missing: ${missing}`;
  }
  throw new AssertionError(msg);
}
/**
 * Make an assertion that `actual` contains the `expected` values
 * If not then thrown.
 */
Make an assertion that `actual` contains the `expected` values
If not then thrown.
Make an assertion that ` actual ` contains the ` expected ` values If not then thrown .
function assertArrayContains(actual, expected, msg) {
  const missing = [];
  for (let i = 0; i < expected.length; i++) {
    let found = false;
    for (let j = 0; j < actual.length; j++) {
      if (equal(expected[i], actual[j])) {
        found = true;
        break;
      }
    }
    if (!found) {
      missing.push(expected[i]);
    }
  }
  if (missing.length === 0) {
    return;
  }
  if (!msg) {
    msg = `actual: "${actual}" expected to contains: "${expected}"`;
    msg += "\n";
    msg += `missing: ${missing}`;
  }
  throw new AssertionError(msg);
}
function assertArrayContains ( actual , expected , msg ) { const missing = [ ] ; for ( let i = 0 ; i < expected . length ; i ++ ) { let found = false ; for ( let j = 0 ; j < actual . length ; j ++ ) { if ( equal ( expected [ i ] , actual [ j ] ) ) { found = true ; break ; } } if ( ! found ) { missing . push ( expected [ i ] ) ; } } if ( missing . length === 0 ) { return ; } if ( ! msg ) { msg = ` ${ actual } ${ expected } ` ; msg += "\n" ; msg += ` ${ missing } ` ; } throw new AssertionError ( msg ) ; }
Make an assertion that `actual` contains the `expected` values
 If not then thrown.
Make an assertion that ` actual ` contains the ` expected ` values If not then thrown .