You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
715 B
19 lines
715 B
const assert = require('assert');
|
|
const util = require('./../util/util.js');
|
|
|
|
describe('generic expressions / misc', () => {
|
|
it('should compile after instrumenting a single binary expression', () => {
|
|
const info = util.instrumentAndCompile('expressions/single-binary-expression');
|
|
util.report(info.solcOutput.errors);
|
|
});
|
|
|
|
it('should compile after instrumenting a new expression', () => {
|
|
const info = util.instrumentAndCompile('expressions/new-expression');
|
|
util.report(info.solcOutput.errors);
|
|
});
|
|
|
|
it('should compile after instrumenting function that returns true', () => {
|
|
const info = util.instrumentAndCompile('return/return');
|
|
util.report(info.solcOutput.errors);
|
|
});
|
|
});
|
|
|