Jonathan Kelley 4 lat temu
rodzic
commit
fd03b9d252
1 zmienionych plików z 0 dodań i 37 usunięć
  1. 0 37
      packages/core/src/nodes.rs

+ 0 - 37
packages/core/src/nodes.rs

@@ -451,40 +451,3 @@ impl Debug for VNode<'_> {
         }
     }
 }
-
-mod tests {
-    
-
-    static B1: &str = "hello world!";
-    static B2: &str = "hello world!";
-    #[test]
-    fn test() {
-        dbg!("Hello world!" as *const _ as *const ());
-        dbg!("Hello world!" as *const _ as *const ());
-        // dbg!(B1 as *const _ as *const ());
-        // dbg!(B2 as *const _ as *const ());
-        // goal: elements as const
-
-        // let b = A.clone();
-        // A.dom_id.set(RealDomNode::new(10));
-
-        // let p = &A;
-        // p.dom_id.set(RealDomNode::new(10));
-        // dbg!(p.dom_id.get());
-
-        // dbg!(p as *const _ as *const ());
-        // dbg!(&A as *const _ as *const ());
-
-        // // dbg!(b.dom_id.get());
-        // dbg!(A.dom_id.get());
-
-        // A.dom_id.set(RealDomNode::empty());
-        // let g = A.dom_id.get();
-    }
-
-    #[test]
-    fn sizing() {
-        dbg!(std::mem::size_of::<VElement>());
-        dbg!(std::mem::align_of::<VElement>());
-    }
-}