diff --git a/Cellular-Automata/ConwaysGameOfLife.test.js b/Cellular-Automata/test/ConwaysGameOfLife.test.js similarity index 81% rename from Cellular-Automata/ConwaysGameOfLife.test.js rename to Cellular-Automata/test/ConwaysGameOfLife.test.js index 506233906..9432457bd 100644 --- a/Cellular-Automata/ConwaysGameOfLife.test.js +++ b/Cellular-Automata/test/ConwaysGameOfLife.test.js @@ -1,4 +1,4 @@ -import { newGeneration } from './ConwaysGameOfLife' +import { newGeneration } from '../ConwaysGameOfLife' describe('newGeneration', () => { it('should produce the next generation according to the rules', () => { diff --git a/Data-Structures/Array/QuickSelect.test.js b/Data-Structures/Array/test/QuickSelect.test.js similarity index 98% rename from Data-Structures/Array/QuickSelect.test.js rename to Data-Structures/Array/test/QuickSelect.test.js index 433f360ed..1af373e7c 100644 --- a/Data-Structures/Array/QuickSelect.test.js +++ b/Data-Structures/Array/test/QuickSelect.test.js @@ -1,4 +1,4 @@ -import { QuickSelect } from './QuickSelect' +import { QuickSelect } from '../QuickSelect' describe('QuickSelect tests', () => { it('should return the only element of a list of length 1', () => { diff --git a/Data-Structures/Vectors/Vector2.test.js b/Data-Structures/Vectors/test/Vector2.test.js similarity index 98% rename from Data-Structures/Vectors/Vector2.test.js rename to Data-Structures/Vectors/test/Vector2.test.js index c3f1857f9..847716ded 100644 --- a/Data-Structures/Vectors/Vector2.test.js +++ b/Data-Structures/Vectors/test/Vector2.test.js @@ -1,4 +1,4 @@ -import { Vector2 } from './Vector2.js' +import { Vector2 } from '../Vector2.js' describe('Vector2', () => { describe('#equalsExactly', () => { diff --git a/Linear-Algebra/README.md b/Linear-Algebra/README.md index 8c0fd79ab..3f3a922d2 100644 --- a/Linear-Algebra/README.md +++ b/Linear-Algebra/README.md @@ -111,4 +111,4 @@ The test-suite use the JavaScript test-framework **mocha**. You can contribute to this project. Feel free and pull request some new features or documention. **TODO:** Global functions for special matrices. -**TODO:** Documention of the classes and functions. \ No newline at end of file +**TODO:** Documention of the classes and functions. diff --git a/Recursive/FloodFill.test.js b/Recursive/test/FloodFill.test.js similarity index 97% rename from Recursive/FloodFill.test.js rename to Recursive/test/FloodFill.test.js index 1c00cdf5f..0468d8473 100644 --- a/Recursive/FloodFill.test.js +++ b/Recursive/test/FloodFill.test.js @@ -1,4 +1,4 @@ -import { breadthFirstSearch, depthFirstSearch } from './FloodFill' +import { breadthFirstSearch, depthFirstSearch } from '../FloodFill' // some constants const black = [0, 0, 0] diff --git a/Recursive/KochSnowflake.test.js b/Recursive/test/KochSnowflake.test.js similarity index 92% rename from Recursive/KochSnowflake.test.js rename to Recursive/test/KochSnowflake.test.js index a46359419..74f164e90 100644 --- a/Recursive/KochSnowflake.test.js +++ b/Recursive/test/KochSnowflake.test.js @@ -1,4 +1,4 @@ -import { iterate, Vector2 } from './KochSnowflake' +import { iterate, Vector2 } from '../KochSnowflake' describe('KochSnowflake', () => { it('should produce the correctly-transformed vectors', () => {