mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] matplotlib: fix tests about arrow function
This commit is contained in:
@@ -35,7 +35,9 @@ QUIZ_CASE(python_matplotlib_pyplot_arrow) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5)");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5, \"#FF00FF\")");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5, 0.1)");
|
||||
assert_command_execution_fails(env, "arrow(2,3,4,5, \"width\")");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5, 0.1, \"#FF00FF\")");
|
||||
assert_command_execution_succeeds(env, "show()");
|
||||
deinit_environment();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user