Skip to content

Commit

Permalink
Update README.md example
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb committed Oct 5, 2024
1 parent 2b178d5 commit 5bd4133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ use beat_saber_map::BeatSaberMap;

let map = BeatSaberMap::from_dir("sample").unwrap();

assert_eq!(map.info.version, "4.0.0");
assert_eq!(map.info.song.title, "Magic");
assert_eq!(map.info.environment_names.first().unwrap(), "WeaveEnvironment");
```

Documentation can be found on [docs.rs](https://docs.rs/beat_saber_map).
Expand Down

0 comments on commit 5bd4133

Please sign in to comment.