 
 global[name] = func for name, func of require 'assert'
 
-# Convenience aliases.
-global.CoffeeScript = CoffeeScript
-
 # Our test helper function for delimiting different test cases.
 global.test = (description, fn) ->
   try

    e.description = description if description?
    e.source      = fn.toString() if fn.toString?
    failures.push filename: currentFile, error: e

# See http://wiki.ecmascript.org/doku.php?id=harmony:egal
egal = (a, b) ->
  if a is b
    a isnt 0 or 1/a is 1/b
  else
    a isnt a and b isnt b

# A recursive functional equivalence helper; uses egal for testing equivalence.
arrayEgal = (a, b) ->
  if egal a, b then yes
  else if a instanceof Array and b instanceof Array
    return no unless a.length is b.length
    return no for el, idx in a when not arrayEgal el, b[idx]
    yes

global.eq      = (a, b, msg) -> ok egal(a, b), msg
global.arrayEq = (a, b, msg) -> ok arrayEgal(a,b), msg

# When all the tests have run, collect and print errors.
# If a stacktrace is available, output the compiled function source.

# Log a message with a color.
global.log = (message, color, explanation) ->
  console.log color + message + reset + ' ' + (explanation or '')
# Easy print
global.say = console.log
# Debugging
global.xxx = ->
  console.log.apply console, arguments
