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
This commit is contained in:
RenatoLopes771
2021-10-28 01:30:04 -03:00
committed by GitHub
parent 970b4f2827
commit 1cef191494
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import { newGeneration } from './ConwaysGameOfLife'
import { newGeneration } from '../ConwaysGameOfLife'
describe('newGeneration', () => {
it('should produce the next generation according to the rules', () => {

View File

@ -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', () => {

View File

@ -1,4 +1,4 @@
import { Vector2 } from './Vector2.js'
import { Vector2 } from '../Vector2.js'
describe('Vector2', () => {
describe('#equalsExactly', () => {

View File

@ -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.
**TODO:** Documention of the classes and functions.

View File

@ -1,4 +1,4 @@
import { breadthFirstSearch, depthFirstSearch } from './FloodFill'
import { breadthFirstSearch, depthFirstSearch } from '../FloodFill'
// some constants
const black = [0, 0, 0]

View File

@ -1,4 +1,4 @@
import { iterate, Vector2 } from './KochSnowflake'
import { iterate, Vector2 } from '../KochSnowflake'
describe('KochSnowflake', () => {
it('should produce the correctly-transformed vectors', () => {