mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix tests.
This commit is contained in:
parent
230f51efb7
commit
f3bb7350f1
@ -3961,6 +3961,8 @@ BOOST_AUTO_TEST_CASE(rational_unary_operation)
|
|||||||
function f() {
|
function f() {
|
||||||
ufixed8x16 a = 3.25;
|
ufixed8x16 a = 3.25;
|
||||||
fixed8x16 b = -3.25;
|
fixed8x16 b = -3.25;
|
||||||
|
a;
|
||||||
|
b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
@ -3979,6 +3981,7 @@ BOOST_AUTO_TEST_CASE(rational_unary_operation)
|
|||||||
contract test {
|
contract test {
|
||||||
function f(uint x) {
|
function f(uint x) {
|
||||||
uint y = +x;
|
uint y = +x;
|
||||||
|
y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
|
Loading…
Reference in New Issue
Block a user