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', () => { describe('newGeneration', () => {
it('should produce the next generation according to the rules', () => { 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', () => { describe('QuickSelect tests', () => {
it('should return the only element of a list of length 1', () => { 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('Vector2', () => {
describe('#equalsExactly', () => { 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. You can contribute to this project. Feel free and pull request some new features or documention.
**TODO:** Global functions for special matrices. **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 // some constants
const black = [0, 0, 0] const black = [0, 0, 0]

View File

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