Formulas/Resources/Formulas/GeneratedFacts.php
private function compareNodes( $expectedNav, $generatedNav )
	{
		if ( is_null( $this->comparer ) )
		{
			// $this->comparer = new TreeComparer( null );
			$this->comparer = new ContextComparer( null );
			$this->comparer->excludeWhitespace = true;
		}

		return $this->comparer->DeepEqualByNavigator( $expectedNav , $generatedNav );
	}
private function compareNodes( $expectedNav, $generatedNav )
	{
		if ( is_null( $this->comparer ) )
		{
			// $this->comparer = new TreeComparer( null );
			$this->comparer = new ContextComparer( null );
			$this->comparer->excludeWhitespace = true;
		}

		return $this->comparer->DeepEqualByNavigator( $expectedNav , $generatedNav );
	}
private function compareNodes ( $ expectedNav , $ generatedNav ) { if ( is_null ( $ this -> comparer ) ) { // $this->comparer = new TreeComparer( null );
 $ this -> comparer = new ContextComparer ( null ) ; $ this -> comparer -> excludeWhitespace = true ; } return $ this -> comparer -> DeepEqualByNavigator ( $ expectedNav , $ generatedNav ) ; }
Compare two nodes for equality
@param DOMXPathNavigator $expectedNav
@param DOMXPathNavigator $generatedNav
Compare two nodes for equality