(t *testing.T)
| 153 | } |
| 154 | |
| 155 | func TestIncrement(t *testing.T) { |
| 156 | dg := setup(t) |
| 157 | val := increment(t, dg) |
| 158 | t.Logf("Increment stage done. Got value: %d\n", val) |
| 159 | read(t, dg, val) |
| 160 | t.Logf("Read stage done with value: %d\n", val) |
| 161 | val = increment(t, dg) |
| 162 | t.Logf("Increment stage done. Got value: %d\n", val) |
| 163 | read(t, dg, val) |
| 164 | t.Logf("Read stage done with value: %d\n", val) |
| 165 | } |
| 166 | |
| 167 | func TestBestEffort(t *testing.T) { |
| 168 | dg := setup(t) |