MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / comparison_bool

Function comparison_bool

nodedb/src/control/promql/parser.rs:549–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

547
548 #[test]
549 fn comparison_bool() {
550 if let Expr::BinaryOp { return_bool, .. } = p("up > bool 0") {
551 assert!(return_bool);
552 } else {
553 panic!("expected BinaryOp");
554 }
555 }
556}

Callers

nothing calls this directly

Calls 1

pFunction · 0.85

Tested by

no test coverage detected