// Error a propósito: el nodo nuevo se pinta de negro.
#include <iostream>

#include "broken_rb.h"

int main() {
    std::cout << std::unitbuf;
    BrokenRb<Bug::new_node_black> tree;
    for (int key : {10, 20}) {
        tree.insert(key);
        std::cout << "insertar " << key << ": " << tree.shape() << "\n";
    }
    tree.check_invariants();
    std::cout << "check_invariants no vio nada\n";
    return 0;
}
