()
| 138 | |
| 139 | |
| 140 | def test_timestamp_update(): |
| 141 | timestamp = Timestamp(epoch=1) |
| 142 | timestamp_2 = timestamp.copy(batch=2) |
| 143 | assert timestamp_2.epoch == 1 |
| 144 | assert timestamp_2.batch == 2 |
| 145 | assert timestamp_2.sample == 0 |
| 146 | assert timestamp is not timestamp_2 |
| 147 | |
| 148 | |
| 149 | def test_set_timestamp(): |