'use strict';

var assert = require('assert');
var voltrevoEventLoop = require('../lib');

describe('voltrevo-event-loop', function () {
  it('should have unit test!', function () {
    assert(false, 'we expected this package author to add actual unit tests.');
  });
});

@@ -8,16 +8,58 @@
 rict';%0A%0A
+/* global describe it */%0A%0A// core modules%0A
 var asse
@@ -86,20 +86,30 @@
 ');%0A
-var voltrevo
+%0A// local modules%0Avar 
 Even
@@ -150,24 +150,14 @@
 be('
-voltrevo-e
+E
 vent
--l
+L
 oop'
@@ -162,25 +162,24 @@
 p', function
- 
 () %7B%0A  it('s
@@ -181,30 +181,29 @@
 it('
-should have unit test!
+Can run a single task
 ', f
@@ -209,17 +209,16 @@
 function
- 
 () %7B%0A   
@@ -222,81 +222,137 @@
     
-assert(false, 'we expected this package author to add actual 
+var el = EventLoop();%0A%0A    var count = 0;%0A%0A    el.post(function() %7B%0A      ++count;%0A    %7D);%0A%0A    el.run();%0A%0A    assert(co
 un
-i
 t 
-tests.'
+=== 1
 );%0A 

Add first test