summaryrefslogtreecommitdiff
path: root/tests/exec
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 18:54:47 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 18:54:47 +0100
commit6973d36261d8030c4836a8e25a0e95c19476978e (patch)
treef23e1ae9dd065050b91fa25f32127c23276a8261 /tests/exec
parentbfb562d7c734f76811314773ea248d9f781a2510 (diff)
downloadLPC-Projet-6973d36261d8030c4836a8e25a0e95c19476978e.tar.gz
LPC-Projet-6973d36261d8030c4836a8e25a0e95c19476978e.zip
Rien.
Diffstat (limited to 'tests/exec')
-rw-r--r--tests/exec/bst.cpp2
-rw-r--r--tests/exec/passing.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/exec/bst.cpp b/tests/exec/bst.cpp
index e5ccce8..528d6a0 100644
--- a/tests/exec/bst.cpp
+++ b/tests/exec/bst.cpp
@@ -74,7 +74,7 @@ void BST::add2(int x) {
void BST::print() {
tree_print(this->root);
- std::cout << std::endl;
+ std::cout << "\n";
}
diff --git a/tests/exec/passing.cpp b/tests/exec/passing.cpp
index 6354fa5..3a2fbf2 100644
--- a/tests/exec/passing.cpp
+++ b/tests/exec/passing.cpp
@@ -6,8 +6,8 @@ void incr(int &y) {
int main() {
int x = 5;
- std::cout << "x = " << x << std::endl;
+ std::cout << "x = " << x << "\n";
incr(x);
- std::cout << "x = " << x << std::endl;
+ std::cout << "x = " << x << "\n";
}