This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<!-- search meta --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('underscore'); | |
var fixture1 = ['hello', 'world']; | |
var fixture2 = ['world', 'hello']; | |
var fixture3 = ['hello', 'mars']; | |
var tests = [ | |
function(a1, a2){ | |
return _.every(a1, function(v){ | |
return _.contains(a2, v); |