-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(ast/values) implement logical properties
- Loading branch information
Showing
7 changed files
with
283 additions
and
531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
pub(crate) use crate::traits::StyleValue; | ||
pub(crate) use hdx_proc_macro::*; | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::super::*; | ||
use crate::test_helpers::*; | ||
|
||
#[test] | ||
fn size_test() { | ||
assert_size!(BlockSize, 12); | ||
assert_size!(InlineSize, 12); | ||
assert_size!(MinBlockSize, 12); | ||
assert_size!(MinInlineSize, 12); | ||
assert_size!(MaxBlockSize, 12); | ||
assert_size!(MaxInlineSize, 12); | ||
assert_size!(MarginBlockStart, 8); | ||
assert_size!(MarginBlockEnd, 8); | ||
assert_size!(MarginInlineStart, 8); | ||
assert_size!(MarginInlineEnd, 8); | ||
assert_size!(MarginBlock, 16); | ||
assert_size!(MarginInline, 16); | ||
assert_size!(PaddingBlockStart, 8); | ||
assert_size!(PaddingBlockEnd, 8); | ||
assert_size!(PaddingInlineStart, 8); | ||
assert_size!(PaddingInlineEnd, 8); | ||
assert_size!(PaddingBlock, 16); | ||
assert_size!(PaddingInline, 16); | ||
} | ||
} |
Oops, something went wrong.