mirror of
https://github.com/Noratrieb/awwoc.git
synced 2026-01-14 19:55:04 +01:00
stuff
This commit is contained in:
parent
728a4db2b9
commit
4b76492f78
2 changed files with 116 additions and 28 deletions
|
|
@ -6,6 +6,16 @@ use awwoc::Awwoc;
|
|||
static AWWOC: Awwoc = Awwoc;
|
||||
|
||||
#[test]
|
||||
fn boxed() {
|
||||
let mut boxed = Box::new(5);
|
||||
|
||||
*boxed = 6;
|
||||
|
||||
assert_eq!(*boxed, 6);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn vec() {
|
||||
let mut vec = Vec::new();
|
||||
|
||||
|
|
@ -17,6 +27,7 @@ fn vec() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn btree_map() {
|
||||
let mut map = BTreeMap::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue