             expect(linkedList2.indexOf 5, -5).toBe 0
             expect(linkedList2.indexOf 12, -1).toBe 4
             expect(linkedList2.indexOf 0, -3).toBe 3
-
-
-
-

            expect(linkedList3.indexOf null).toBe 1
    describe "starting at an arbitrary index", ->
        linkedList = new LinkedList()
        xit "should return -1 for invalid positive index", ->
            expect(linkedList.indexOf 2, 0).toBe -1
            expect(linkedList.indexOf 2, 10).toBe -1
            fill linkedList
            expect(linkedList.indexOf 2, 99).toBe -1
        xit "should return the correct value for a negative index", ->
            expect(linkedList.indexOf 2, -99).toBe 1
            expect(linkedList.indexOf 0, -2).toBe 3
            linkedList.add 9
            expect(linkedList.indexOf 9, -3).toBe 5
        xit "returns -1 if the item isn't found starting at the indicated index", ->
            expect(linkedList.indexOf 2, 2).toBe -1
            expect(linkedList.indexOf 5, 1).toBe -1
        xit "returns the index of the item found", ->
            expect(linkedList.indexOf 9, 2).toBe 2
            expect(linkedList.indexOf 5, 0).toBe 0
            expect(linkedList.indexOf 12, 4).toBe 4

        expect(linkedList.get(4).value).toBe 12
        expect(linkedList.get(-1).value).toBe 12

describe "Find index of node", ->
    describe "starting at the beginning", ->
        linkedList = new LinkedList()
        array = [1, 2, 3]
        it "returns -1 if the item isn't found", ->
