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
|
|
@ -226,6 +226,12 @@ mod tests {
|
|||
use compare_elements::NamespaceAwareCompare;
|
||||
use disco::DiscoInfoQuery;
|
||||
|
||||
#[test]
|
||||
fn test_size() {
|
||||
assert_size!(IqType, 216);
|
||||
assert_size!(Iq, 384);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_require_type() {
|
||||
#[cfg(not(feature = "component"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue