Test the size of every struct defined here.
This commit is contained in:
parent
9cb4f00341
commit
40aedcf184
43 changed files with 295 additions and 0 deletions
|
|
@ -74,6 +74,13 @@ mod tests {
|
|||
use minidom::Element;
|
||||
use compare_elements::NamespaceAwareCompare;
|
||||
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(Conference, 152);
|
||||
assert_size!(Url, 48);
|
||||
assert_size!(Storage, 48);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn empty() {
|
||||
let elem: Element = "<storage xmlns='storage:bookmarks'/>".parse().unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue