// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: CC0-1.0

#include <seqan3/core/debug_stream.hpp>
#include <seqan3/utility/container/dynamic_bitset.hpp>

int main()
{
    seqan3::dynamic_bitset t1{"1100"};

    t1.resize(8);                       // Enlarge to 8.
    seqan3::debug_stream << t1 << '\n'; // 0000'1100
    t1.resize(5);                       // Shrink to 5, last three bits (5, 6, 7) are set to false.
    seqan3::debug_stream << t1 << '\n'; // 0110'0
    t1.resize(10, true);                // Enlarge to 10 and set new bits to true.
    seqan3::debug_stream << t1 << '\n'; // 1111'1011'00
}
