mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add test.
This commit is contained in:
parent
0e54562de4
commit
3c75adecc6
@ -283,6 +283,14 @@ BOOST_AUTO_TEST_CASE(equal_constant)
|
||||
feasible({{"x", 5}, {"y", 5}});
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(equal_constant)
|
||||
{
|
||||
auto x = variable("x");
|
||||
auto y = variable("y");
|
||||
addEQConstraint(-6 * x - 6 * y, constant(8));
|
||||
infeasible();
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(linear_dependent)
|
||||
{
|
||||
auto x = variable("x");
|
||||
|
Loading…
Reference in New Issue
Block a user