mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 21:35:58 +00:00
18 lines
235 B
Solidity
18 lines
235 B
Solidity
pragma solidity ^0.4.11;
|
|
|
|
library ZAMyLib {
|
|
|
|
function add(uint _a, uint _b) returns (uint _c) {
|
|
return _a + _b;
|
|
}
|
|
|
|
}
|
|
|
|
contract Test {
|
|
|
|
function testAdd() constant returns (uint _result) {
|
|
return ZAMyLib.add(1, 2);
|
|
}
|
|
|
|
}
|