 'use strict'
 
 utils = require 'neft-utils'
+unit = require 'neft-unit'
+assert = require 'neft-assert'
 List = require './index'
 
+{describe, it, beforeEach, afterEach} = unit
+
 describe 'ctor', ->
-
 	it 'creates new List', ->
 		list = List()
-		expect(list).toEqual jasmine.any List
+		assert.instanceOf list, List
 
 describe 'length', ->
-
 	it 'returns amount of items', ->
 		list = List [1, 2]
-		expect(list.length).toBe 2
+		assert.is list.length, 2
 
 describe 'values are accessed by their keys', ->
 	list = List [1, 2]
-	expect(list[0]).toBe 1
-	expect(list[1]).toBe 2
-	expect(list[2]).toBe undefined
+	assert.is list[0], 1
+	assert.is list[1], 2
+	assert.is list[2], undefined
 
 describe 'set()', ->
-
 	it 'change existed item value', ->
 		list = List [1]
 		list.set 0, 2
-		expect(list[0]).toBe 2
+		assert.is list[0], 2
 
 describe 'append()', ->
-
 	it 'add an item on the end', ->
 		list = List [1]
 		list.append 2
-		expect(list.toArray()).toEqual [1, 2]
+		assert.isEqual list.toArray(), [1, 2]
 
 describe 'insert()', ->
-
 	it 'insert an item at given position', ->
 		list = List [1, 2]
 		list.insert 1, 0
 		list.insert 0, 2
-		expect(list.toArray()).toEqual [2, 1, 0, 2]
+		assert.isEqual list.toArray(), [2, 1, 0, 2]
 
 describe 'remove()', ->
-
 	it 'remove the first element equal given value', ->
 		list = List [0, 1, 1, 2]
 		list.remove 1
-		expect(list.toArray()).toEqual [0, 1, 2]
+		assert.isEqual list.toArray(), [0, 1, 2]
 
 describe 'pop()', ->
-
 	it 'remove the last item', ->
 		list = List [1, 2]
 		list.pop()
-		expect(list.toArray()).toEqual [1]
+		assert.isEqual list.toArray(), [1]
 
 	it 'remove the item at given position', ->
 		list = List [1, 2, 3]
 		list.pop 1
-		expect(list.toArray()).toEqual [1, 3]
+		assert.isEqual list.toArray(), [1, 3]
 		list.pop 0
-		expect(list.toArray()).toEqual [3]
+		assert.isEqual list.toArray(), [3]
 
 describe 'clear()', ->
-
 	it 'remove all items', ->
 		list = List [1, 2]
 		list.clear()
-		expect(list.toArray()).toEqual []
+		assert.isEqual list.toArray(), []
 
 describe 'index()', ->
-
 	it 'return the index of the first item equal given value', ->
 		list = List [1, 2, 2]
-		expect(list.index 2).toBe 1
-		expect(list.index 3).toBe -1
+		assert.is list.index(2), 1
+		assert.is list.index(3), -1
 
 describe 'has()', ->
-
 	it 'return true if given value exists in a list', ->
 		list = List [1, 2, 2]
-		expect(list.has 2).toBe true
-		expect(list.has 3).toBe false
+		assert.is list.has(2), true
+		assert.is list.has(3), false
 
 describe 'onChange signal', ->
-
 	list = listener = null
 	ok = false
 	args = copy = null


		list.clear()

		expect(args).toEqual [[2, 1], [1, 0]]
		expect(copy.toArray()).toEqual []

			copy = utils.clone list

	afterEach ->
		assert.ok ok
		list.onChange.disconnect listener

	it 'works with set()', ->
