Add a unit test for Fragment size

This commit is contained in:
Matt Brubeck 2016-03-29 08:11:59 -07:00
parent 37799a4025
commit 14e945f09a
6 changed files with 59 additions and 0 deletions

7
tests/unit/layout/lib.rs Normal file
View file

@ -0,0 +1,7 @@
/* 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/. */
extern crate layout;
#[cfg(all(test, target_pointer_width = "64"))] mod size_of;