this is weird
g2 <- sample_dot_product(vecs, directed = TRUE)
g20 <- graph_from_literal(1:2:3:4, 1 - +3, 1 - +4, 3 - +4, 4 + -1, 4 + -3)
expect_equal(g[], g20[], ignore_attr = TRUE)
- why define g2 and not use it directly afterwards
- why does expect_equivalent() pass but not expect_equal(ignore_attrs=TRUE)`
this is weird