Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjon committed Dec 15, 2023
1 parent 6a46e49 commit 0957a3b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,14 @@ fn isid() {

let mut sut = CollectionOfUsersVia::new();
sut.append(User::blob_jr());
assert_eq!(sut.items(), [User::blob_jr()])
assert_eq!(sut.items(), [User::blob_jr()]);
sut.remove_at(0);
assert_eq!(sut.len(), 0);
sut.update_or_append(User::blob_sr());
sut.update_or_append(User::blob_sr());
assert_eq!(sut.items(), [User::blob_sr()]);
sut.update_or_append(User::blob_jr());
assert_eq!(sut.items(), [User::blob_sr(), User::blob_jr()]);
}

// #[test]
Expand Down

0 comments on commit 0957a3b

Please sign in to comment.