Skip to content

Commit 5e38703

Browse files
committed
feat: add a module
1 parent 2d6edf6 commit 5e38703

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,5 @@ members = [
5151
"palindrome_pairs",
5252
"matchsticks_to_square",
5353
"generate_parentheses",
54+
"number_of_subarrays_with_bounded_maximum",
5455
]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "number_of_subarrays_with_bounded_maximum"
3+
version = "0.1.0"
4+
authors = ["Ryan Li <[email protected]>"]
5+
edition = "2018"
6+
7+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
9+
[dependencies]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

0 commit comments

Comments
 (0)