Code coverage for Solidity smart-contracts
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.
|
|
|
const assert = require('assert');
|
|
|
|
const util = require('./../util/util.js');
|
|
|
|
|
|
|
|
describe('generic expressions', () => {
|
|
|
|
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);
|
|
|
|
});
|
|
|
|
});
|