@@ -0,0 +1,1489 @@
+#!/usr/bin/python%0A#    Copyright 2017 Dhvani Patel%0A#%0A#    This file is part of UnnaturalCode.%0A#    %0A#    UnnaturalCode is free software: you can redistribute it and/or modify%0A#    it under the terms of the GNU Affero General Public License as published by%0A#    the Free Software Foundation, either version 3 of the License, or%0A#    (at your option) any later version.%0A#%0A#    UnnaturalCode is distributed in the hope that it will be useful,%0A#    but WITHOUT ANY WARRANTY; without even the implied warranty of%0A#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A#    GNU Affero General Public License for more details.%0A#%0A#    You should have received a copy of the GNU Affero General Public License%0A#    along with UnnaturalCode.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A%0A%0Afrom check_eclipse_syntax import checkEclipseSyntax%0Afrom compile_error import CompileError%0A%0Aimport unittest%0A%0AERROR_TEST = %22%22%22public class HelloWorld %7B%0A%0A    public static void main(String%5B%5D args)%0A        // Prints %22Hello, World%22 to the terminal window.%0A        System.out.println(%22Hello, World)%0A    %7D%0A%0A%7D%0A%22%22%22%0A%0Aclass TestStringMethods(unittest.TestCase):%0A%0A%09def test_syntax_ok(self):%0A%09%09toTest = checkEclipseSyntax('public class Hello%7B int a= 5;%7D')%0A%09%09self.assertTrue(toTest is None)%0A%09%09%0A%09def test_syntax_error(self):%0A%09%09toTest = checkEclipseSyntax(ERROR_TEST)%0A%09%09self.assertEqual(toTest%5B0%5D, %5B1, 2, 3, 4, 5%5D)%0A%09%09self.assertEqual(toTest%5B1%5D, %5B3, 5, 5, 5, 5%5D)%0A%09%0A%09%09%0Aif __name__ == '__main__':%0A    unittest.main()%0A

Add test_eclipse.py