-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.js
56 lines (30 loc) · 1.04 KB
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
var assert = require('assert'),
fast = require('./fast');
assert(! fast('The Sorrow and the Pity'));
assert(! fast('La La Land'));
assert(! fast('Cape Fear (1962)'));
assert(! fast('Cape Fear (1991)'));
assert(fast('The Fast and the Furious'));
assert(fast('2 Fast 2 Furious'));
assert(fast('The Fast and the Furious: Tokyo Drift'));
assert(fast('Fast & Furious'));
assert(fast('Fast Five'));
assert(fast('Fast & Furious 6'));
assert(fast('Furious 7'));
assert(fast('The Fate of the Furious'));
assert(! fast('Fast & Furious 100: Electric Boogaloo'));
assert(! fast('2 Fast & Furious'));
assert(! fast('The Fast 2 Furious'));
assert(! fast('The Fast Five'));
assert(! fast('Fast & Furious: Tokyo Drift'));
assert(! fast('2 Fast 2 Furious 6'));
assert(! fast('Fast 2 Furious'));
assert(! fast('Fast and the Furious'));
assert(! fast('The Fast and the Furious 6'));
assert(! fast('Fast & Furious 7'));
assert(! fast('The Furious'));
/*
* TODO: fix these false positives
assert(! fast('Furious'));
assert(! fast('Furious 6'));
*/