Initial work on outlining the dynamic side of the library.

This commit is contained in:
2021-01-31 17:31:22 +01:00
parent 2a08fb2645
commit c194c5d209
24 changed files with 321 additions and 39 deletions

View File

@@ -47,7 +47,7 @@ mod tests {
fn adds_level_moves() {
let mut moves = LearnableMoves::new();
let move1 = MoveData::new(
"foo".to_string(),
"foo",
0,
MoveCategory::Physical,
0,
@@ -59,7 +59,7 @@ mod tests {
Default::default(),
);
let move2 = MoveData::new(
"bar".to_string(),
"bar",
0,
MoveCategory::Physical,
0,
@@ -83,7 +83,7 @@ mod tests {
fn adds_two_same_moves_at_different_level() {
let mut moves = LearnableMoves::new();
let move1 = MoveData::new(
"foo".to_string(),
"foo",
0,
MoveCategory::Physical,
0,