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

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