| 42 | } |
| 43 | |
| 44 | static void test_write() |
| 45 | { |
| 46 | LDBS ldbs; |
| 47 | |
| 48 | uint32_t block1 = ldbs.put(Bytes{1}, 1); |
| 49 | uint32_t block2 = ldbs.put(Bytes{2}, 2); |
| 50 | Bytes data = ldbs.write(0x1234); |
| 51 | |
| 52 | assertBytes(testdata, data); |
| 53 | } |
| 54 | |
| 55 | static void test_read() |
| 56 | { |
no test coverage detected