#NEWLINE# def test_node_clique_number( self ) : #NEWLINE# #INDENT# G = self . G #NEWLINE# assert_equal ( nx . node_clique_number ( self , 1 ) , 4 ) #NEWLINE# assert_equal ( list ( nx . node_clique_number ( G , [ 1 ] ) . values ( ) ) , [ 4 ] ) #NEWLINE# assert_equal ( list ( nx . node_clique_number ( G , [ 1 , 2 ] ) . values ( ) ) , [ 4 , 4 ] ) #NEWLINE# assert_equal ( nx . node_clique_number ( G , [ 1 , 2 ] ) , { #NEWLINE# #INDENT# 1 : 4 , #NEWLINE# 2 : 4 , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert_equal ( nx . node_clique_number ( G , 1 ) , 4 ) #NEWLINE# assert_equal ( nx . node_clique_number ( G ) , { #NEWLINE# #INDENT# 1 : 4 , #NEWLINE# 2 : 4 , #NEWLINE# 3 : 4 , #NEWLINE# 4 : 3 , #NEWLINE# 5 : 3 , #NEWLINE# 6 : 4 , #NEWLINE# 7 : 3 , #NEWLINE# 8 : 2 , #NEWLINE# 9 : 2 , #NEWLINE# 10 : 2 , #NEWLINE# 11 : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert_equal ( nx . node_clique_number ( G , cliques = self . cl ) , { #NEWLINE# #INDENT# 1 : 4 , #NEWLINE# 2 : 4 , #NEWLINE# 3 : 4 , #NEWLINE# 4 : 3 , #NEWLINE# 5 : 3 , #NEWLINE# 6 : 4 , #NEWLINE# 7 : 3 , #NEWLINE# 8 : 2 , #NEWLINE# 9 : 2 , #NEWLINE# 10 : 2 , #NEWLINE# 11 : 2 , #NEWLINE# #UNINDENT# } )