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

Function test_different_nodes

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

Source from the content-addressed store, hash-verified

412
413 #[test]
414 fn test_different_nodes() {
415 let n1 = Node::new(NodeKind::Document);
416 let n2 = Node::new(NodeKind::Element(Element::new("html", Vec::new())));
417
418 assert_ne!(n1, n2);
419 }
420
421 #[test]
422 fn test_different_elements() {

Callers

nothing calls this directly

Calls 1

ElementClass · 0.85

Tested by

no test coverage detected