public static void Test_6() { Random r = new Random(); bool[,] z = Class2.Create_Random_Adjancy_Matrix(100, r); int[] b1 = Graph_Functions.Transform_Bool_Matrix_To_Int_Array(z); bool[,] v1 = Graph_Functions.Transform_Int_Array_To_Bool_Matrix(b1); Console.WriteLine("Test_6 Result:" + Graph_Functions.Are_Identical_Matrixes(z, v1)); }
public static void Test_8() { Random r = new Random(); bool[,] Z1 = Class2.F1(8, 20); bool[,] a1; bool[,] a2; bool[,] b1; bool[,] b2; bool c1; a1 = Class2.Permute(Z1, r); a2 = Class2.Permute(Z1, r); b1 = Graph_Functions.Transform_From_Any_Isomorphism_To_Single_Same_Isomorphism(a1); b2 = Graph_Functions.Transform_From_Any_Isomorphism_To_Single_Same_Isomorphism(a2); c1 = Graph_Functions.Are_Identical_Matrixes(b1, b2); Console.WriteLine("Test_8 Rasult:" + c1); }