Commit 35b3e96e authored by Kohei Yoshida's avatar Kohei Yoshida

Add a test case where only one cell is to be iterated over.

parent cbb4e385
Pipeline #38289373 passed with stage
in 4 minutes and 22 seconds
......@@ -1365,6 +1365,20 @@ void test_model_context_iterator_vertical_range()
};
assert(check_model_iterator_output(iter, checks));
// Iterate over only one cell in the middle.
range.first.row = 5;
range.last.row = 5;
range.first.column = 3;
range.last.column = 3;
iter = cxt.get_model_iterator(0, rc_direction_t::vertical, range);
checks =
{
{ 5, 3, cxt.get_string_identifier(IXION_ASCII("s5")) },
};
assert(check_model_iterator_output(iter, checks));
}
void test_volatile_function()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment