var tape = require('tape')
var fs = require('fs')
var path = require('path')
var parseDDS = require('../lib/parse-dds')

tape('parse dds', function (t) {
  // TODO check dds parsing

  var data = fs.readFileSync(path.join(__dirname, '../example/assets/alpine_cliff_a.dds'))

  console.log(parseDDS((new Uint8Array(data)).buffer))

  t.end()
})

@@ -101,16 +101,21 @@
 '../lib/
+util/
 parse-dd
@@ -118,16 +118,16 @@
 e-dds')%0A
-
 %0Atape('p
@@ -179,16 +179,86 @@
  parsing
+ in more detail, for now just run it and make%0A  // sure we don't crash
 %0A%0A  var 
@@ -346,23 +346,10 @@
 '))%0A
-%0A
   
-console.log(
 pars
@@ -383,17 +383,16 @@
 .buffer)
-)
 %0A%0A  t.en

fix path for dds test case