https://github.com/atomicobject/ao-neighborhood-map
Coding project for Atomic Object interview.
https://github.com/atomicobject/ao-neighborhood-map
Last synced: 3 months ago
JSON representation
Coding project for Atomic Object interview.
- Host: GitHub
- URL: https://github.com/atomicobject/ao-neighborhood-map
- Owner: atomicobject
- Created: 2019-05-30T12:43:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T20:37:53.000Z (almost 7 years ago)
- Last Synced: 2025-07-02T23:35:37.307Z (10 months ago)
- Language: Racket
- Size: 3.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instructions for Running
1. The neighborhood data should be in the same directory with the name "gr_neighborhoods.txt".
2. The test data points should be in the same directory with the name "test_data.txt".
3. Run the "find-neighborhoods" executable from the terminal (make sure it has permission).
```
> ./find-neighborhoods
```
4. The results are printed to the terminal as well as collected in an "output.txt" file in the same directory.
# Instructions for Compiling and Testing
1. Install "sfont" package.
```
> raco pkg install sfont
```
2. Install "threading" package.
```
> raco pkg install threading
```
3. Install "rack unit" package.
```
> raco pkg install rackunit-lib
```
4. Tests can be run in the terminal. I didn't write a full test-suite, but added some tests to the submodules.
```
> raco test modules/neighborhood.rkt
> raco test modules/vertex.rkt
```