var assert = require('assert'),
    Relev = require('../lib/util/relev');

describe('relev', function() {
    describe('construction', function() {
        it('is constructed', function() {
            var r = new Relev(0, 1, 2, 1, 3, 'place', 'place', 5);
            assert.equal(r.id, 0);
            assert.equal(r.relev, 1);
            assert.equal(r.reason, 2);
            assert.equal(r.count, 1);
            assert.equal(r.idx, 3);
            assert.equal(r.dbid, 'place');
            assert.equal(r.dbname, 'place');
            assert.equal(r.tmpid, 5);
        });
    });
});

@@ -1,40 +1,8 @@
 var 
-assert = require('assert'),%0A    
 Rele
@@ -39,108 +39,48 @@
 ');%0A
-%0Adescribe('relev', function() %7B%0A    describe('construction', function() %7B%0A        it('is constructed
+var test = require('tape');%0A%0Atest('relev
 ', f
@@ -91,20 +91,13 @@
 ion(
+t
 ) %7B%0A
-        
     
@@ -151,37 +151,24 @@
 e', 5);%0A    
-        asser
 t.equal(r.id
@@ -173,37 +173,24 @@
 id, 0);%0A    
-        asser
 t.equal(r.re
@@ -198,37 +198,24 @@
 ev, 1);%0A    
-        asser
 t.equal(r.re
@@ -224,37 +224,24 @@
 on, 2);%0A    
-  
-      asser
 t.equal(r.co
@@ -249,37 +249,24 @@
 nt, 1);%0A    
-        asser
 t.equal(r.id
@@ -272,37 +272,24 @@
 dx, 3);%0A    
-        asser
 t.equal(r.db
@@ -302,37 +302,24 @@
 lace');%0A    
-        asser
 t.equal(r.db
@@ -342,21 +342,8 @@
     
-        asser
 t.eq
@@ -367,21 +367,14 @@
     
-    %7D);%0A    %7D
+t.end(
 );%0A%7D

Convert relevance to tape