{"size": 372, "ext": "js", "max_stars_repo_path": "src/domain/Position.spec.js", "max_stars_repo_name": "SanjoSolutions/aufbauspiel2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/domain/Position.spec.js", "max_issues_repo_name": "SanjoSolutions/aufbauspiel2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/domain/Position.spec.js", "max_forks_repo_name": "SanjoSolutions/aufbauspiel2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.5714285714, "max_line_length": 66, "alphanum_fraction": 0.5913978495}
import { describe, expect, test } from '@jest/globals'
import { Position } from './Position.js'

describe('Position', () => {
  describe('construction', () => {
    test('a position can be created with two coordinates', () => {
      const x = 1
      const y = 2
      const position = new Position(x, y)
      expect(position).toEqual(new Position(x, y))
    })
  })
})
