1 | var convert = require('../lib')
|
2 | , assert = require('assert')
|
3 | , tests = {};
|
4 |
|
5 | tests['ft-cd to lx'] = function () {
|
6 | assert.strictEqual( convert(1).from('ft-cd').to('lx') , 10.76391);
|
7 | };
|
8 |
|
9 | tests['lx to ft-cd'] = function () {
|
10 | assert.strictEqual( convert(1).from('lx').to('ft-cd') , 0.09290304359661128);
|
11 | };
|
12 |
|
13 | module.exports = tests;
|