-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests #5
Comments
added one test case, others can be added with copy paste |
var movies = [
"pioneer.one.avi", //movie
"pioneer.one.2014.avi", //movie with year
"pioneer.201.2014.avi", //movie with stamp & year
"pioneer.1980.2014.avi", //movie with longstamp & year (new movie)
"pioneer.2020.1980.avi" //movie with longstam & year (old movie)
]; var shows = [
"pioneer.one.s01e01.avi", //show with long-md
"pioneer.one.s1e1.avi", //show with short-md //never seen
"pioneer.one.1x1.avi", //show with alt-short-md
"pioneer.one.01x01.avi", //show with alt-long-md
"pioneer.one.season.1.episode.1.avi", //show with full md //never seen
"pioneer.one.1014.avi", //show with unmarked md
"pioneer.one.2014.217.avi", //show with year & unmarked short-md
"pioneer.one.2014.1017.avi", //show with year & unmarked long-md
"pioneer.one.2014.s01e01.avi", //show with year & long-md
"pioneer.201.s01e01.avi" //show with stamp & long-md
"pioneer.201.2014.s01e01.avi" //total fuck up
]; |
@vankasteelj thanks not perfect, but is something |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There should be tests for this, covering as many cases as possible.
E.g.:
"pioneer.one.s01.e02.mp4"
"pioneer.one.102.mp4"
movies as well
The text was updated successfully, but these errors were encountered: