cfb.js
Version:
This_is_an_API_for_accessing_all_sorts_of_college_football_data___Please_note_that_API_keys_should_be_supplied_with_Bearer__prepended__e_g__Bearer_your_key__API_keys_can_be_acquired_from_the_CollegeFootballData_com_website_
102 lines (86 loc) • 3.93 kB
JavaScript
/*
* College Football Data API
* This is an API for accessing all sorts of college football data. It currently has a wide array of data ranging from play by play to player statistics to game scores and more.
*
* OpenAPI spec version: 2.4.1
* Contact: admin@collegefootballdata.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', '../../src/index'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.cfb);
}
}(this, function(expect, cfb) {
'use strict';
var instance;
describe('(package)', function() {
describe('TeamSPRatingDefense', function() {
beforeEach(function() {
instance = new cfb.TeamSPRatingDefense();
});
it('should create an instance of TeamSPRatingDefense', function() {
// TODO: update the code to test TeamSPRatingDefense
expect(instance).to.be.a(cfb.TeamSPRatingDefense);
});
it('should have the property ranking (base name: "ranking")', function() {
// TODO: update the code to test the property ranking
expect(instance).to.have.property('ranking');
// expect(instance.ranking).to.be(expectedValueLiteral);
});
it('should have the property rating (base name: "rating")', function() {
// TODO: update the code to test the property rating
expect(instance).to.have.property('rating');
// expect(instance.rating).to.be(expectedValueLiteral);
});
it('should have the property success (base name: "success")', function() {
// TODO: update the code to test the property success
expect(instance).to.have.property('success');
// expect(instance.success).to.be(expectedValueLiteral);
});
it('should have the property explosiveness (base name: "explosiveness")', function() {
// TODO: update the code to test the property explosiveness
expect(instance).to.have.property('explosiveness');
// expect(instance.explosiveness).to.be(expectedValueLiteral);
});
it('should have the property rushing (base name: "rushing")', function() {
// TODO: update the code to test the property rushing
expect(instance).to.have.property('rushing');
// expect(instance.rushing).to.be(expectedValueLiteral);
});
it('should have the property pasing (base name: "pasing")', function() {
// TODO: update the code to test the property pasing
expect(instance).to.have.property('pasing');
// expect(instance.pasing).to.be(expectedValueLiteral);
});
it('should have the property standardDowns (base name: "standardDowns")', function() {
// TODO: update the code to test the property standardDowns
expect(instance).to.have.property('standardDowns');
// expect(instance.standardDowns).to.be(expectedValueLiteral);
});
it('should have the property passingDowns (base name: "passingDowns")', function() {
// TODO: update the code to test the property passingDowns
expect(instance).to.have.property('passingDowns');
// expect(instance.passingDowns).to.be(expectedValueLiteral);
});
it('should have the property havoc (base name: "havoc")', function() {
// TODO: update the code to test the property havoc
expect(instance).to.have.property('havoc');
// expect(instance.havoc).to.be(expectedValueLiteral);
});
});
});
}));