var Showtimes = require('../')
var test = require('tap').test;
var s = new Showtimes(94118, {
  //date: 0
});

test('get theaters', function (t) {
  s.getTheaters(function (theaters) {
    t.equal(theaters.length, 18);
    t.end();
  });
});

var Showtimes = require('../');
var test = require('tap').test;
var s = null;

test('get theaters from zipcode', function (t) {
  s = new Showtimes(94118, {
    //date: 0
  });

  s.getTheaters(function (theaters) {
    t.equal(theaters.length, 18);
    t.end();
  });
});

test('get theaters from lat/long', function (t) {
  s = new Showtimes('37.7822890,-122.4637080', {
    //date: 0
  });

  s.getTheaters(function (theaters) {
    t.equal(theaters.length, 18);
    t.end();
  });
});

Test case for a lat/long-based location.