const chai = require('chai')
const assert = chai.assert;
const sinon = require('sinon');
const Bumper = require("../lib/bumper")

describe("Bumper", function(){
  context("with assigned attributes", function(){
    var bumper = new Bumper(0,0,10,10)

    it("should have an x min position", function(){
      assert.equal(bumper.minX, 0)
    })

    it("should have a y min position", function(){
      assert.equal(bumper.minY, 0)
    })

    it("should have an x max position", function(){
      assert.equal(bumper.maxX, 10)
    })

    it("should have a y max position", function(){
      assert.equal(bumper.maxY, 10)
    })

    it("should have a default color of white", function(){
      assert.equal(bumper.color, "white")
    });
  });
});

const chai = require('chai')
const assert = chai.assert;
const sinon = require('sinon');
const Bumper = require("../lib/bumper")

describe("Bumper", function(){
  context("with assigned attributes", function(){
    var bumper = new Bumper({minX: 0, minY:0, maxX:10, maxY:10})

    it("should have an x min position", function(){
      assert.equal(bumper.minX, 0)
    })

    it("should have a y min position", function(){
      assert.equal(bumper.minY, 0)
    })

    it("should have an x max position", function(){
      assert.equal(bumper.maxX, 10)
    })

    it("should have a y max position", function(){
      assert.equal(bumper.maxY, 10)
    })

    it("should have a default color of white", function(){
      assert.equal(bumper.color, "white")
    });
  });
});

Change test to reflect changes to coords
Change test to reflect changes to coords
