def test_num_val(src): node, start = ABNFGrammarRule('num-val').parse(src, 0) assert node and node.value == src