Commit Graph

12 Commits

Author SHA1 Message Date
Dan Kortschak
a4dda6a99c all: make tests pass when -count is greater than 1
Tests run repeatedly do not reinitialise state, meaning that a second run
of the tests will have leftover state from the previous run. This ensures
that repeated runs are identical with the exception of map iteration order.
2022-08-06 15:52:53 +09:30
Dan Kortschak
d9dc91b587 unit: add Copy method and documentation to avoid unexpected sharing 2021-01-07 06:54:05 +10:30
Egon Elbre
933b96a6d3 unit: make tests parallel 2020-03-16 16:10:59 +02:00
Dan Kortschak
6d55676c7d unit: complete coverage of generate code 2019-11-20 08:11:52 +10:30
Dan Kortschak
ad7fbd52c6 unit: clean up lint 2019-11-02 20:58:00 +10:30
Dan Kortschak
0732d350bf unit: don't panic when multiplying dimless with dimensioned Uniter 2019-10-23 11:07:33 +10:30
Dan Kortschak
ce747f8fb7 unit: make printing of units concurrency-safe and unicode-aware 2019-03-20 08:15:03 +10:30
Dan Kortschak
76645ce923 unit: add additional base SI units
* Angle
* Current
* LuminousIntensity
* Mole
* Temperature

and fix comment punctuation.
2019-03-09 20:16:39 +10:30
Dan Kortschak
3a6502718d unit: fix width formatting and improve test coverage 2019-02-27 06:53:14 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
kortschak
f990fc84b6 stat/distmv,unit: fix ineffectual assignments
Many are left, either because the code is not idiomatic and derived from
other implementations or there is a reason behind the assignment.
2017-06-20 16:29:35 +09:30
Brendan Tracey
9cfdd41029 unit: imported unit as a subtree 2017-05-23 00:03:00 -06:00