it("throws an error if `index` is equal to the length of the sequence", () => {
            expect(() => from([1, 2, 3]).elementAt(3)).toThrowError("Index too large");
        });