"use strict";
var expect = require('expect.js');
var List = require('../lib/list.js');
var Pair = require('../lib/pair.js');
var Data = require('../lib/data.js');
var PP = require('../lib/pprinter.js');
var Parser = require('../lib/parser.js');
var Dentaku = require('../lib/dentaku.normal.js');
describe('dentaku.normal', () => {
it("evaluate", (next) => {
expect(
Dentaku.evaluate("123")
).to.eql(
123
);
expect(
Dentaku.evaluate("1 + 2")
).to.eql(
3
);
expect(
Dentaku.evaluate("2 - 1")
).to.eql(
1
);
expect(
Dentaku.evaluate("1.2 * 2")
).to.eql(
2.4
);
expect(
Dentaku.evaluate("3.9 / 3")
).to.eql(
1.3
);
next();
});