diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs | 13 | ||||
-rw-r--r-- | src/locusts-r-us/__init__.py | 0 | ||||
-rw-r--r-- | src/locusts-r-us/locusts.py | 6 | ||||
-rw-r--r-- | src/locusts-r-us/test_locusts.py | 9 |
4 files changed, 27 insertions, 1 deletions
@@ -1,5 +1,16 @@ #![no_std] -pub fn introduce_locusts(){} +/// Add locusts to your codebase. +/// +/// Note that locusts are not included with this package, you must provide your own. +/// +/// # Examples +/// +/// ``` +/// use locusts::introduce_locusts; +/// +/// introduce_locusts(); +/// ``` +pub fn introduce_locusts() {} #[cfg(test)] mod tests { diff --git a/src/locusts-r-us/__init__.py b/src/locusts-r-us/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/locusts-r-us/__init__.py diff --git a/src/locusts-r-us/locusts.py b/src/locusts-r-us/locusts.py new file mode 100644 index 0000000..f050133 --- /dev/null +++ b/src/locusts-r-us/locusts.py @@ -0,0 +1,6 @@ +def introduce_locusts(): + """ + Introduce locusts into your codebase. + + Note that locusts are not included with this package, you must provide your own. + """ diff --git a/src/locusts-r-us/test_locusts.py b/src/locusts-r-us/test_locusts.py new file mode 100644 index 0000000..68e6df7 --- /dev/null +++ b/src/locusts-r-us/test_locusts.py @@ -0,0 +1,9 @@ +import unittest +from locusts import introduce_locusts + +class TestLocusts(unittest.TestCase): + def test_introduce_locusts(self): + self.assertIsNone(introduce_locusts()) + +if __name__ == '__main__': + unittest.main()
\ No newline at end of file |