// Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) Guillaume Fraux and contributors -- BSD license
#include <catch.hpp>
#include <chemfiles.hpp>
using namespace chemfiles;

#undef assert
#define assert CHECK

TEST_CASE() {
    // [example]
    auto topology = Topology();
    assert(topology.size() == 0);

    topology.resize(22);
    assert(topology.size() == 22);

    topology.add_atom(Atom("H"));
    assert(topology.size() == 23);
    // [example]
}
