Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎Cellular-Automata/ConwaysGameOfLife.test.js‎ renamed to ‎Cellular-Automata/test/ConwaysGameOfLife.test.js‎

Lines changed: 1 addition & 1 deletion
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', () => {

‎Data-Structures/Array/QuickSelect.test.js‎ renamed to ‎Data-Structures/Array/test/QuickSelect.test.js‎

Lines changed: 1 addition & 1 deletion
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', () => {

‎Data-Structures/Vectors/Vector2.test.js‎ renamed to ‎Data-Structures/Vectors/test/Vector2.test.js‎

Lines changed: 1 addition & 1 deletion
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', () => {

‎Linear-Algebra/README.md‎

Lines changed: 1 addition & 1 deletion
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.

‎Recursive/FloodFill.test.js‎ renamed to ‎Recursive/test/FloodFill.test.js‎

Lines changed: 1 addition & 1 deletion
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]

‎Recursive/KochSnowflake.test.js‎ renamed to ‎Recursive/test/KochSnowflake.test.js‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /