diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-05 14:32:56 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-05 14:32:56 -0500 |
commit | 38c5e18b94c1f2f506b89cfa582b4aba80fe48d7 (patch) | |
tree | ee0b2a7cec961f3f2d04057e269695eddf132afc /src | |
parent | Nothing? (diff) | |
download | locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.gz locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.bz2 locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.lz locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.xz locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.zst locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.zip |
Add python and a bunch of documentation
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
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 |