summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tests1.rs1
-rw-r--r--tests/tests2.rs1
-rw-r--r--tests/tests3.rs1
-rw-r--r--tests/tests4.rs1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests1.rs b/tests/tests1.rs
index e189f93..959ed85 100644
--- a/tests/tests1.rs
+++ b/tests/tests1.rs
@@ -1,3 +1,4 @@
+// tests1.rs
// Tests are important to ensure that your code does what you think it should do.
// Tests can be run on this file with the following command:
// rustc --test tests1.rs
diff --git a/tests/tests2.rs b/tests/tests2.rs
index 0ae6ddb..6775d61 100644
--- a/tests/tests2.rs
+++ b/tests/tests2.rs
@@ -1,3 +1,4 @@
+// tests2.rs
// This test has a problem with it -- make the test compile! Make the test
// pass! Make the test fail! Scroll down for hints :)
diff --git a/tests/tests3.rs b/tests/tests3.rs
index 1ee0f29..e041f38 100644
--- a/tests/tests3.rs
+++ b/tests/tests3.rs
@@ -1,3 +1,4 @@
+// tests3.rs
// This test isn't testing our function -- make it do that in such a way that
// the test passes. Then write a second test that tests that we get the result
// we expect to get when we call `is_even(5)`. Scroll down for hints!
diff --git a/tests/tests4.rs b/tests/tests4.rs
index 278e29e..23d444a 100644
--- a/tests/tests4.rs
+++ b/tests/tests4.rs
@@ -1,3 +1,4 @@
+// tests4.rs
// This test isn't testing our function -- make it do that in such a way that
// the test passes. Then write a second test that tests that we get the result
// we expect to get when we call `times_two` with a negative number.