import test from 'tape'
import Box from '../src/index'

test('index', function(t) {

  t.test( 63 )
  t.ok( Box.ABS, 'ABS should be there')
  t.ok( Box.ACOS, 'ACOS should be there')
  t.ok( Box.ADD, 'ADD should be there')
  t.ok( Box.AND, 'AND should be there')
  t.ok( Box.BIN2DEC, 'BIN2DEC should be there')
  t.ok( Box.CELL, 'CELL should be there')
  t.ok( Box.CELLINDEX, 'CELLINDEX should be there')
  t.ok( Box.CHOOSE, 'CHOOSE should be there')
  t.ok( Box.CONCATENATE, 'CONCATENATE should be there')
  t.ok( Box.COND, 'COND should be there')
  t.ok( Box.COS, 'COS should be there')
  t.ok( Box.DATE, 'DATE should be there')
  t.ok( Box.DATEDIF, 'DATEDIF should be there')
  t.ok( Box.DEC2BIN, 'DEC2BIN should be there')
  t.ok( Box.DIVIDE, 'DIVIDE should be there')
  t.ok( Box.EQ, 'EQ should be there')
  t.ok( Box.FILTER, 'FILTER should be there')
  t.ok( Box.FIND, 'FIND should be there')
  t.ok( Box.FLATTEN, 'FLATTEN should be there')
  t.ok( Box.GT, 'GT should be there')
  t.ok( Box.GTE, 'GTE should be there')
  t.ok( Box.HLOOKUP, 'HLOOKUP should be there')
  t.ok( Box.IFNA, 'IFNA should be there')
  t.ok( Box.IN, 'IN should be there')
  t.ok( Box.INDEX2COL, 'INDEX2COL should be there')
  t.ok( Box.INDEX2ROW, 'INDEX2ROW should be there')
  t.ok( Box.INDIRECT, 'INDIRECT should be there')
  t.ok( Box.ISARRAY, 'ISARRAY should be there')
  t.ok( Box.ISBLANK, 'ISBLANK should be there')
  t.ok( Box.ISEMAIL, 'ISEMAIL should be there')
  t.ok( Box.ISERROR, 'ISERROR should be there')
  t.ok( Box.ISEVEN, 'ISEVEN should be there')
  t.ok( Box.ISNA, 'ISNA should be there')
  t.ok( Box.ISNUMBER, 'ISNUMBER should be there')
  t.ok( Box.ISODD, 'ISODD should be there')
  t.ok( Box.ISRANGE, 'ISRANGE should be there')
  t.ok( Box.ISREF, 'ISREF should be there')
  t.ok( Box.ISTEXT, 'ISTEXT should be there')
  t.ok( Box.LOOKUP, 'LOOKUP should be there')
  t.ok( Box.LOWER, 'LOWER should be there')
  t.ok( Box.LT, 'LT should be there')
  t.ok( Box.LTE, 'LTE should be there')
  t.ok( Box.MAX, 'MAX should be there')
  t.ok( Box.MULTIPLY, 'MULTIPLY should be there')
  t.ok( Box.N, 'N should be there')
  t.ok( Box.NE, 'NE should be there')
  t.ok( Box.OCT2DEC, 'OCT2DEC should be there')
  t.ok( Box.OR, 'OR should be there')
  t.ok( Box.PI, 'PI should be there')
  t.ok( Box.PMT, 'PMT should be there')
  t.ok( Box.POWER, 'POWER should be there')
  t.ok( Box.RANGE, 'RANGE should be there')
  t.ok( Box.REPT, 'REPT should be there')
  t.ok( Box.SEARCH, 'SEARCH should be there')
  t.ok( Box.SIN, 'SIN should be there')
  t.ok( Box.SORT, 'SORT should be there')
  t.ok( Box.SUM, 'SUM should be there')
  t.ok( Box.SWITCH, 'SWITCH should be there')
  t.ok( Box.TAN, 'TAN should be there')
  t.ok( Box.TAU, 'TAU should be there')
  t.ok( Box.TEXT, 'TEXT should be there')
  t.ok( Box.UNIQUE, 'UNIQUE should be there')
  t.ok( Box.UPPER, 'UPPER should be there')
  t.ok( Box.VLOOKUP, 'VLOOKUP should be there')
})

@@ -24,19 +24,26 @@
 %0Aimport 
+%7B* as 
 Box
+%7D
  from '.

Fix tests for index