MCPcopy Create free account
hub / github.com/d0iasm/saba / test_element_nodes

Function test_element_nodes

core/src/renderer/dom/node.rs:398–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396
397 #[test]
398 fn test_element_nodes() {
399 let n1 = Node::new(NodeKind::Element(Element::new("html", Vec::new())));
400 let n2 = Node::new(NodeKind::Element(Element::new("html", Vec::new())));
401
402 assert_eq!(n1, n2);
403 }
404
405 #[test]
406 fn test_text_nodes() {

Callers

nothing calls this directly

Calls 1

ElementClass · 0.85

Tested by

no test coverage detected