Skip to content

Move all the testing creation data to a designated file #80

@dennypenta

Description

@dennypenta

Currently tons of tests define duplicated functions to generate the models.
As a result:

  • tons of things are duplicated
  • some models are complete fake and the mess up the real data flow, e.g. index Table has to guard against empty metaindex buffer which may happen only in the tests.
  1. Move the functions to testing.zig in the same module/folder
  2. Get rid of the guard in index/Table.zig .fromMem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions