Searched refs:expected_node (Results 1 – 2 of 2) sorted by relevance
44 def AssertEquivalentNodes(self, expected_node, actual_node): argument63 if expected_node.nodeType == Node.CDATA_SECTION_NODE:65 self.assertEquals(expected_node.nodeValue, actual_node.nodeValue)69 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)70 self.assertEquals(expected_node.tagName, actual_node.tagName)72 expected_attributes = expected_node.attributes92 expected_children = self._GetChildren(expected_node)
96 Real expected_node = pi<Real>()/(1-exp(-ooura_eta(n*h, alpha).first)); in test_ooura_sin_nodes_and_weights() local97 BOOST_CHECK_CLOSE_FRACTION(node, expected_node,10*std::numeric_limits<Real>::epsilon()); in test_ooura_sin_nodes_and_weights()