Add placeholder for Robot

This commit is contained in:
deadprogram 2013-10-19 14:30:16 -07:00
parent a2786dab48
commit 92c651f6b3
2 changed files with 24 additions and 0 deletions

12
src/robot.coffee Normal file
View File

@ -0,0 +1,12 @@
###
* robot
* cylonjs.com
*
* Copyright (c) 2013 The Hybrid Group
* Licensed under the Apache 2.0 license.
###
'use strict';
exports = module.exports = class Robot
constructor: (@name) ->

View File

@ -0,0 +1,12 @@
'use strict';
Robot = source("robot")
#robot = require '../dist/robot.js'
#Robot = require("#{__dirname}/robot")
describe "basic tests", ->
r = new Robot("irobot")
it "robot should have a name", ->
r.should.have.keys 'name'
r.name.should.be.equal 'irobot'