{"id":17122832,"url":"https://github.com/ibrahimgunduz34/code-kata-string-calulator","last_synced_at":"2025-03-24T03:11:42.736Z","repository":{"id":146528872,"uuid":"167425321","full_name":"ibrahimgunduz34/code-kata-string-calulator","owner":"ibrahimgunduz34","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-24T21:20:00.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T09:17:14.931Z","etag":null,"topics":["code-kata","java","tdd-java","tdd-kata"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibrahimgunduz34.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-24T19:35:31.000Z","updated_at":"2023-11-30T02:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"26aea1d9-1b85-4116-906f-2afffcdc7ff1","html_url":"https://github.com/ibrahimgunduz34/code-kata-string-calulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimgunduz34%2Fcode-kata-string-calulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimgunduz34%2Fcode-kata-string-calulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimgunduz34%2Fcode-kata-string-calulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimgunduz34%2Fcode-kata-string-calulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrahimgunduz34","download_url":"https://codeload.github.com/ibrahimgunduz34/code-kata-string-calulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200701,"owners_count":20576674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-kata","java","tdd-java","tdd-kata"],"created_at":"2024-10-14T18:23:59.604Z","updated_at":"2025-03-24T03:11:42.594Z","avatar_url":"https://github.com/ibrahimgunduz34.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Kata\n## String Calculator\n\n[![Build Status](https://travis-ci.org/ibrahimgunduz34/code-kata-string-calulator.svg?branch=master)](https://travis-ci.org/ibrahimgunduz34/code-kata-string-calulator)\n\nThe repository was created with inspired the following site.\n[http://osherove.com/tdd-kata-1/](http://osherove.com/tdd-kata-1/)\n\n### Rules:\n\nDONE:\n\n* Empty string input must returns 0\n* Single value input must return itself.\n* Comma separated values input must return sum of them.\n* New line char separated values input must return sum of them.\n* An input like the following which consist of comma separated multiple values, single value and delimited by new lines must return sum.\n   \n```$xslt\n1\n2,3\n4,5,6\n7\n8\n9,10,11\n```   \n \n * Any line can not finalize with comma. \n * Each values must be integer. Otherwise it must throw **IllegalArgumentException**\n * Negative values must throw **IllegalArgumentException**\n * The values greater than 1000 must be ignored\n  \n TODO:\n * A single char custom delimiter can be defined in the first line like the following:\n\n ```$xslt\n//#\n1#2\n3\n4#5#6\n```\n\n* Group of chars must be able to use as delimiter\n\n ```$xslt\n//[##]\n1##2\n3\n4##5##6\n```\n\n* The input feed can contain multiple custom delimiter/values series. In each iteration, the definition must fallow the rules in the above.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimgunduz34%2Fcode-kata-string-calulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrahimgunduz34%2Fcode-kata-string-calulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimgunduz34%2Fcode-kata-string-calulator/lists"}