mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-28 23:44:19 +00:00
14 lines
422 B
JavaScript
14 lines
422 B
JavaScript
import Coordinates from "./Coordinates"
|
|
import MapArea from "./MapArea"
|
|
|
|
|
|
test("MapArea can be constructed", () => {
|
|
const mapArea = new MapArea(1000, new Coordinates(0.0, 0.0))
|
|
expect(mapArea).toBeTruthy()
|
|
})
|
|
|
|
test("MapArea can be rendered to a spec-compatible string", () => {
|
|
const mapArea = new MapArea(1000, new Coordinates(0.0, 0.0))
|
|
expect(mapArea.toString()).toBe("< 1000 0.0000000 0.0000000")
|
|
})
|
|
|