1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 16:44:06 +02:00

write tuple

This commit is contained in:
Robin Appelman 2021-07-13 20:10:08 +02:00
commit 89f9e4f0af
2 changed files with 22 additions and 0 deletions

View file

@ -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")));
}