// Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) Guillaume Fraux and contributors -- BSD license

#include <chemfiles.h>
#include <stdlib.h>
#include <assert.h>

int main() {
    // [example]
    CHFL_CELL* cell = chfl_cell((chfl_vector3d){10, 10, 10});

    chfl_cell_set_shape(cell, CHFL_CELL_TRICLINIC);

    chfl_cellshape shape;
    chfl_cell_shape(cell, &shape);
    assert(shape == CHFL_CELL_TRICLINIC);

    chfl_cell_free(cell);
    // [example]
    return 0;
}
