Passed
Branch master (6ac629)
by Rafael S.
06:42
created

test/decode.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 9
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 9
rs 10
bpm 1
cpm 1
noi 0
1
/*!
2
 * Copyright (c) 2018 Rafael da Silva Rocha.
3
 * 
4
 */
5
6
var assert = require('assert');
7
8
describe('decode', function() {
9
    let imaadpcm = require("../index.js")
10
    it("samples.length should be > 0",
11
        function() {
12
            assert.ok(imaadpcm.decode([0]));
13
        });
14
});
15