Commit 33a4af7
committed
test/methods: (in progress) add explicit adapt parameter cases to Unitful tests
These seem to at least produce correct units, but the numerical value is
wrong for the adapt=0 case (not surprising, based on the documentation).
The question is, why the heck do things go wrong, when you do not give
an explicit adapt value, but leave it to the compiler-generated method
that inserts the value adapt=1 automatically.1 parent 81b5132 commit 33a4af7
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
98 | 115 | | |
99 | 116 | | |
100 | 117 | | |
| |||
0 commit comments