diff options
| author | Robert Lugg <robert.lugg@gmail.com> | 2018-02-21 22:09:53 -0800 |
|---|---|---|
| committer | Robert Lugg <robert.lugg@gmail.com> | 2018-02-21 22:09:53 -0800 |
| commit | 7d7a48b17dfb9d61b50eeced84f74e0d1f755b9c (patch) | |
| tree | 30e9ef080ed6c31e5f6c12711d5fd1baf8ef404d /tests | |
| parent | c4b32528457063b0b97da37617c2a9ff652a4cba (diff) | |
Added filename to top of .rs files
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tests1.rs | 1 | ||||
| -rw-r--r-- | tests/tests2.rs | 1 | ||||
| -rw-r--r-- | tests/tests3.rs | 1 | ||||
| -rw-r--r-- | tests/tests4.rs | 1 |
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. |
