add base cmd

This commit is contained in:
2023-01-22 12:04:41 +01:00
parent 332ef8e00d
commit 936c6b4741
1545 changed files with 2681 additions and 458 deletions

View File

@@ -1,2 +0,0 @@
/target
/Cargo.lock

View File

@@ -1,8 +0,0 @@
[package]
name = "char_core"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@@ -1,14 +0,0 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}