2019-04-25 14:38:56 +00:00
|
|
|
# Trezor Storage tests
|
|
|
|
|
2019-04-25 14:45:58 +00:00
|
|
|
This repository contains all the necessary files to properly test Trezor's internal storage.
|
2019-04-25 14:38:56 +00:00
|
|
|
|
|
|
|
This repository consists of:
|
|
|
|
|
2019-04-25 14:45:58 +00:00
|
|
|
- `c`: The actual C version is implemented in the main `storage` folder, however we need some other accompanying files to build it on computer.
|
2019-04-25 14:38:56 +00:00
|
|
|
- `c0`: This is the older version of Trezor storage. It is used to test upgrades from the older format to the newer one.
|
|
|
|
- `python`: Python version. Serves as a reference implementation and is implemented purely for the goal of properly testing the C version.
|
|
|
|
- `tests`: Most of the tests run the two implementations against each other. Uses Pytest and [hypothesis](https://hypothesis.works) for random tests.
|