ga-wdi-boston / js-reference-types-practice

Practice with collections and functions
Other
0 stars 154 forks source link

test code #5

Closed gotwilk890 closed 8 years ago

gotwilk890 commented 8 years ago

describe('Red and Orange Lines', function() {

it('goes from "South Station" to "Forest Hills"', function() {
  expect(mbta.stopsBetweenStations('Red', 'South Station', 'Orange', 'Forest Hills')).toBe(6);
});

If i am counting correctly I believe this should be 7 stops not 6.

gotwilk890 commented 8 years ago

I had 'downtown' and 'crossing' as separate stops this is not an issue