mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 16:44:06 +02:00
write tuple
This commit is contained in:
parent
1fadf092cf
commit
89f9e4f0af
2 changed files with 22 additions and 0 deletions
|
|
@ -96,3 +96,9 @@ fn test_array() {
|
|||
roundtrip([1, 2, 3, 4, 5]);
|
||||
roundtrip([String::from("asd"), String::from("foobar")]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_tuple() {
|
||||
roundtrip((1, false));
|
||||
roundtrip((1, 10.12, String::from("asd")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue