tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 709HTML 662Markdown 12TOML 62348 Sutichaykuna

delete unused code

e358d4768018429dd7d4d770c9cfa3519b47863f · ruwaq Emil Sjölander · (7 wata ñawpaq) · tayta 0f78dd01b · kay commitpi sach'ata qhaway

Semántico sayk'uy · 2

tests/manual.rs

1 qillqakuna · +0 −62

diff --git a/tests/manual.rs b/tests/manual.rs
deleted file mode 100644
index 2597ad36c..000000000
--- a/tests/manual.rs
+++ /dev/null
@@ -1,62 +0,0 @@
-#[cfg(test)]
-mod manual {
-    #[test]
-    fn wrap() {
-        let layout = stretch::compute(&stretch::style::Node {
-            width: stretch::style::Dimension::Points(100.0),
-            height: stretch::style::Dimension::Points(100.0),
-
-            flexWrap: stretch::style::FlexWrap::WrapReverse,
-            align_content: stretch::style::AlignContent::Stretch,
-
-            children: vec![
-                stretch::style::Node {
-                    width: stretch::style::Dimension::Points(30.0),
-                    height: stretch::style::Dimension::Points(30.0),
-                    ..Default::default()
-                },
-                stretch::style::Node {
-                    width: stretch::style::Dimension::Points(30.0),
-                    height: stretch::style::Dimension::Points(30.0),
-                    ..Default::default()
-                },
-                stretch::style::Node {
-                    width: stretch::style::Dimension::Points(30.0),
-                    height: stretch::style::Dimension::Points(30.0),
-                    ..Default::default()
-                },
-                stretch::style::Node {
-                    width: stretch::style::Dimension::Points(30.0),
-                    height: stretch::style::Dimension::Points(30.0),
-                    ..Default::default()
-                },
-            ],
-            ..Default::default()
-        });
-
-        assert_eq!(layout.width, 100.0);
-        assert_eq!(layout.height, 100.0);
-        assert_eq!(layout.x, 0.0);
-        assert_eq!(layout.y, 0.0);
-
-        assert_eq!(layout.children[0].width, 30.0);
-        assert_eq!(layout.children[0].height, 30.0);
-        assert_eq!(layout.children[0].x, 0.0);
-        assert_eq!(layout.children[0].y, 70.0);
-
-        assert_eq!(layout.children[1].width, 30.0);
-        assert_eq!(layout.children[1].height, 30.0);
-        assert_eq!(layout.children[1].x, 30.0);
-        assert_eq!(layout.children[1].y, 70.0);
-
-        assert_eq!(layout.children[2].width, 30.0);
-        assert_eq!(layout.children[2].height, 30.0);
-        assert_eq!(layout.children[2].x, 60.0);
-        assert_eq!(layout.children[2].y, 70.0);
-
-        assert_eq!(layout.children[3].width, 30.0);
-        assert_eq!(layout.children[3].height, 30.0);
-        assert_eq!(layout.children[3].x, 0.0);
-        assert_eq!(layout.children[3].y, 20.0);
-    }
-}
\ No newline at end of file