Skip to content

Commit

Permalink
testing badge
Browse files Browse the repository at this point in the history
  • Loading branch information
nsclass committed May 2, 2024
1 parent 5394ec8 commit eb27604
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Rust Simple Text Calculator #
# Rust Simple Text Calculator # ![tests](https://github.com/nsclass/rust-calculator/workflows/tests/badge.svg)

Simple calculator by using post fix algorithm in Rust

## Examples

```rust
let input = "1 + 2 * (3 + 4) / 2"; // expected 1234+*2/+
let (result, _trace_details) = calculate_str(input, true).unwrap();
assert_eq!(result, 8.);
```
```

0 comments on commit eb27604

Please sign in to comment.