#NEWLINE# def test_weighted_normalized_root_not_observed( self ) : #NEWLINE# #INDENT# actual = weighted_unifrac ( [ 1 , 0 , 0 , 0 ] , [ 1 , 1 , 0 , 0 ] , self . oids2 , self . t2 , normalized = True ) #NEWLINE# expected = 0.1764705882 #NEWLINE# self . assertAlmostEqual ( actual , self ) #NEWLINE# actual = weighted_unifrac ( [ 0 , 0 , 1 , 1 ] , [ 0 , 0 , 1 , 0 ] , self . oids2 , self . t2 , normalized = True ) #NEWLINE# expected = 0.1818181818 #NEWLINE# self . assertAlmostEqual ( actual , expected )