#4827 closed defect (fixed)
rmgen library tests
Reported by: | elexis | Owned by: | elexis |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 24 |
Component: | Maps | Keywords: | |
Cc: | Itms | Patch: | Phab:D2085 |
Description
Once the rmgen library is sorted well (#4804), we could start testing their correctness.
For instance the math.js
functions.
Placers
could be tested that they have a place
function that returns an array of points or undefined.
Centered Placers
could be tested that they do have an x
and z
property.
It could be tested that creating a new Map
produces a map of the correct gridsize,
that out-of-bound access to the grid throws an error,
that a Constraint
does what it should and so forth.
Change History (6)
comment:1 by , 6 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
comment:4 by , 5 years ago
Milestone: | Backlog → Alpha 24 |
---|---|
Patch: | → Phab:D2085 |
Priority: | Nice to Have → Should Have |
Note:
See TracTickets
for help on using tickets.
Replying to elexis:
Shouldn't they have a "center" propperty which is a vector2D?