Skip to content

Commit 1cef191

Browse files
merge: Made all tests follow file strcture convention already in-place (#820)
* add empty line to end of file * Move all test files to /test following convention
1 parent 970b4f2 commit 1cef191

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Diff for: Cellular-Automata/ConwaysGameOfLife.test.js renamed to Cellular-Automata/test/ConwaysGameOfLife.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { newGeneration } from './ConwaysGameOfLife'
1+
import { newGeneration } from '../ConwaysGameOfLife'
22

33
describe('newGeneration', () => {
44
it('should produce the next generation according to the rules', () => {

Diff for: Data-Structures/Array/QuickSelect.test.js renamed to Data-Structures/Array/test/QuickSelect.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { QuickSelect } from './QuickSelect'
1+
import { QuickSelect } from '../QuickSelect'
22

33
describe('QuickSelect tests', () => {
44
it('should return the only element of a list of length 1', () => {

Diff for: Data-Structures/Vectors/Vector2.test.js renamed to Data-Structures/Vectors/test/Vector2.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Vector2 } from './Vector2.js'
1+
import { Vector2 } from '../Vector2.js'
22

33
describe('Vector2', () => {
44
describe('#equalsExactly', () => {

Diff for: Linear-Algebra/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ The test-suite use the JavaScript test-framework **mocha**.
111111

112112
You can contribute to this project. Feel free and pull request some new features or documention.
113113
**TODO:** Global functions for special matrices.
114-
**TODO:** Documention of the classes and functions.
114+
**TODO:** Documention of the classes and functions.

Diff for: Recursive/FloodFill.test.js renamed to Recursive/test/FloodFill.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { breadthFirstSearch, depthFirstSearch } from './FloodFill'
1+
import { breadthFirstSearch, depthFirstSearch } from '../FloodFill'
22

33
// some constants
44
const black = [0, 0, 0]

Diff for: Recursive/KochSnowflake.test.js renamed to Recursive/test/KochSnowflake.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { iterate, Vector2 } from './KochSnowflake'
1+
import { iterate, Vector2 } from '../KochSnowflake'
22

33
describe('KochSnowflake', () => {
44
it('should produce the correctly-transformed vectors', () => {

0 commit comments

Comments
 (0)