 import Nimble
 import Core
 
-private enum IntGenerator: Int {
+private enum IntRepresentable: Int {
     case Zero
     case One
     case Two

        describe("#count") {
            
            it("should return all values") {
                expect(IntGenerator.count()).to(equal(4))
            }
            
            context("When specifying an initial value") {
                
                it("should return all values after starting at the initial value") {
                    expect(IntGenerator.count(startingAt: 1)).to(equal(3))
                }
            }
        }

                }
                
                it("should return the following element") {
                    expect(generator.next()).to(equal(IntRepresentable.Zero))
                    expect(generator.next()).to(equal(IntRepresentable.One))
                }
                
            }
