mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Fix spelling (#128)
* Fix spelling in .cpp files * Fix spelling in all files
This commit is contained in:
@@ -3,28 +3,28 @@
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_import) {
|
||||
// Test "from matplotlib.pyplot import *"
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_fails(env, "arrow(2,3,4,5)");
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5)");
|
||||
deinit_environment();
|
||||
|
||||
// "from matplotlib import *"
|
||||
env = init_environement();
|
||||
env = init_environnement();
|
||||
assert_command_execution_fails(env, "pyplot.arrow(2,3,4,5)");
|
||||
assert_command_execution_succeeds(env, "from matplotlib import *");
|
||||
assert_command_execution_succeeds(env, "pyplot.arrow(2,3,4,5)");
|
||||
deinit_environment();
|
||||
|
||||
// "import matplotlib"
|
||||
env = init_environement();
|
||||
env = init_environnement();
|
||||
assert_command_execution_fails(env, "matplotlib.pyplot.arrow(2,3,4,5)");
|
||||
assert_command_execution_succeeds(env, "import matplotlib");
|
||||
assert_command_execution_succeeds(env, "matplotlib.pyplot.arrow(2,3,4,5)");
|
||||
deinit_environment();
|
||||
|
||||
// "import matplotlib.pyplot"
|
||||
env = init_environement();
|
||||
env = init_environnement();
|
||||
assert_command_execution_fails(env, "matplotlib.pyplot.arrow(2,3,4,5)");
|
||||
assert_command_execution_succeeds(env, "import matplotlib.pyplot");
|
||||
assert_command_execution_succeeds(env, "matplotlib.pyplot.arrow(2,3,4,5)");
|
||||
@@ -32,7 +32,7 @@ QUIZ_CASE(python_matplotlib_pyplot_import) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_arrow) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "arrow(2,3,4,5)");
|
||||
assert_command_execution_fails(env, "arrow(2,3,4,5, 0.1)");
|
||||
@@ -45,7 +45,7 @@ QUIZ_CASE(python_matplotlib_pyplot_arrow) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_axis) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "axis((2,3,4,5))");
|
||||
assert_command_execution_succeeds(env, "axis([2,3,4,5])");
|
||||
@@ -57,7 +57,7 @@ QUIZ_CASE(python_matplotlib_pyplot_axis) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_bar) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "bar([0,2,3],[10,12,23])");
|
||||
assert_command_execution_succeeds(env, "bar([0,2,3],10)");
|
||||
@@ -71,7 +71,7 @@ QUIZ_CASE(python_matplotlib_pyplot_bar) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_grid) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "grid(True)");
|
||||
assert_command_execution_succeeds(env, "grid()");
|
||||
@@ -79,7 +79,7 @@ QUIZ_CASE(python_matplotlib_pyplot_grid) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_hist) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "hist([2,3,4,5,6])");
|
||||
assert_command_execution_succeeds(env, "hist([2,3,4,5,6],23)");
|
||||
@@ -91,7 +91,7 @@ QUIZ_CASE(python_matplotlib_pyplot_hist) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_plot) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "plot([2,3,4,5,6])");
|
||||
assert_command_execution_succeeds(env, "plot(2,3)");
|
||||
@@ -103,7 +103,7 @@ QUIZ_CASE(python_matplotlib_pyplot_plot) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_scatter) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "scatter(2,3)");
|
||||
assert_command_execution_succeeds(env, "scatter([2,3,4,5,6],[3,4,5,6,7])");
|
||||
@@ -114,7 +114,7 @@ QUIZ_CASE(python_matplotlib_pyplot_scatter) {
|
||||
}
|
||||
|
||||
QUIZ_CASE(python_matplotlib_pyplot_text) {
|
||||
TestExecutionEnvironment env = init_environement();
|
||||
TestExecutionEnvironment env = init_environnement();
|
||||
assert_command_execution_succeeds(env, "from matplotlib.pyplot import *");
|
||||
assert_command_execution_succeeds(env, "text(2,3,'hello')");
|
||||
assert_command_execution_succeeds(env, "show()");
|
||||
|
||||
Reference in New Issue
Block a user