-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest12.js
More file actions
28 lines (24 loc) · 789 Bytes
/
test12.js
File metadata and controls
28 lines (24 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var assert = require("assert");
var assesment = require("./12find_unique_char");
describe("it should return unique character", function() {
it("it should return 'barn'", function() {
assert.deepEqual(assesment('baraban'),
'barn');
});
it("it should return 'you arenicd'", function() {
assert.deepEqual(assesment('you are a nice dude'),
'you arenicd');
});
it("it should return evrything wlbf')", function() {
assert.deepEqual(assesment('everything will be fine'),
'evrything wlbf');
});
it("it should return 'you mstbeag'", function() {
assert.deepEqual(assesment('you must be a guy'),
'you mstbeag');
});
it("it should return 'her itsu'", function() {
assert.deepEqual(assesment('here it is the truth'),
'her itsu');
});
});