From df102a037d63a799b695fb7352f6fac176fd253e Mon Sep 17 00:00:00 2001 From: Alex Loyko Date: Tue, 24 Oct 2017 13:20:17 -0400 Subject: [PATCH] added the run file for intersections tests --- test/unit/runIntersectionsTests.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/unit/runIntersectionsTests.js diff --git a/test/unit/runIntersectionsTests.js b/test/unit/runIntersectionsTests.js new file mode 100644 index 00000000..0f4afc1f --- /dev/null +++ b/test/unit/runIntersectionsTests.js @@ -0,0 +1,18 @@ +var tape = require('tape'), + diff = require('difflet')({ indent : 2, comment : true }); + +var common = { + // a visual deep diff rendered using console.error() + diff: function( actual, expected ){ + console.error( diff.compare( actual, expected ) ); + } +}; + +var tests = [ + require('./helper/intersectionsParsing'), + require('./controller/predicates/is_intersection_layer') +]; + +tests.map(function(t) { + t.all(tape, common); +});