[gnome-sudoku] main: remove placeholder code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] main: remove placeholder code
- Date: Sat, 31 May 2014 15:25:02 +0000 (UTC)
commit 06d5d1b346c3fe8379f9361fa0046bcc9f6e38b0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat May 31 10:23:37 2014 -0500
main: remove placeholder code
None of this belongs in main
src/main.vala | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 71b6215..0abb882 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -34,32 +34,6 @@ private static const OptionEntry[] options =
public static int main (string[] args)
{
- //SudokuGenerator.gen_stats ();
- //SudokuRater.gen_python_test ();
-
- //SudokuGenerator gen = new SudokuGenerator ();
- //SudokuBoard board = gen.make_symmetric_puzzle(GLib.Random.int_range(0, 4));
- //board.get_string ();
- //stdout.printf("\n");
-
- //SudokuBoard test_board = board.clone ();
- //SudokuSolver test_solver = new SudokuSolver (ref test_board);
-
- /*if (test_solver.quick_has_unique_solution ())
- stdout.printf("Unique solution\n");
- else
- stdout.printf("No unique solution\n");
-
-
- SudokuSolver solver = new SudokuSolver (ref board);
- foreach (SudokuBoard solved_board in solver)
- {
- solved_board.get_string ();
- stdout.printf("\n");
- }*/
-
- //return 0;
-
Gtk.init (ref args);
var c = new OptionContext (/* Arguments and description for --help text */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]