var tape = require('tape');
var d3   = require('../');

tape('draw function of \'triangle_strip\' draws correctly', function(test){
	var _3d = d3._3d().primitiveType('TRIANGLE_STRIP');
	var data = [
        [[0,1,0],[0,0,0],[1,1,0],[1.5,0,0]],
		[[0,10,0],[0,0,0],[10,10,0],[15,0,0]],
	];
    test.deepEqual(_3d.draw(_3d(data)[0]), 'M1.5,0L1,-1L0,0ZM1,-1L0,0L0,-1Z');
	test.deepEqual(_3d.draw(_3d(data)[1]), 'M15,0L10,-10L0,0ZM10,-10L0,0L0,-10Z');
	test.end();
});


@@ -125,17 +125,20 @@
 (test)%7B%0A
-%09
+    
 var _3d 
@@ -181,17 +181,20 @@
 TRIP');%0A
-%09
+    
 var data
@@ -247,10 +247,16 @@
 %5D%5D,%0A
-%09%09
+        
 %5B%5B0,
@@ -290,17 +290,20 @@
 ,0,0%5D%5D,%0A
-%09
+    
 %5D;%0A    t
@@ -372,25 +372,28 @@
 ,0L0,-1Z');%0A
-%09
+    
 test.deepEqu
@@ -463,9 +463,12 @@
 ');%0A
-%09
+    
 test

convert tabs to spaces