mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Merge layout and layout_tests
This commit is contained in:
parent
c2ed7c9632
commit
a311e0f569
8 changed files with 42 additions and 54 deletions
14
components/layout/tests/size_of.rs
Normal file
14
components/layout/tests/size_of.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![cfg(target_pointer_width = "64")]
|
||||
|
||||
extern crate layout;
|
||||
#[macro_use] extern crate size_of_test;
|
||||
|
||||
use layout::Fragment;
|
||||
use layout::SpecificFragmentInfo;
|
||||
|
||||
size_of_test!(test_size_of_fragment, Fragment, 160);
|
||||
size_of_test!(test_size_of_specific_fragment_info, SpecificFragmentInfo, 24);
|
Loading…
Add table
Add a link
Reference in a new issue