<commit_before>
//
// TODO:
//
// * Show windows with animation?
// * Make root window that's embedded in the browser.
// * When adding a control, give option to add as shown/hidden.
// * Move all WindowManager functionality into Window and apply it to Controls.
//  

function TestAll()
{
    let c0 = new WM.Container(new int2(10, 10), new int2(1000, 800));
    c0.Show();

    let w0 = new WM.Window("Test Window", new int2(300, 300), new int2(200, 200));
    w0.Title = "Changed Title";
    c0.Add(w0);

    let w1 = new WM.Window("Blah", new int2(10, 10), new int2(200, 200));
    w0.Add(w1);

    let w2 = new WM.Window("Derp", new int2(400, 400), new int2(200, 200));
    c0.Add(w2);

    let w3 = new WM.Window("BlahNext", new int2(40, 40), new int2(200, 200));
    w0.Add(w3);
}<commit_msg>Add more windows to the test<commit_after>
//
// TODO:
//
// * Show windows with animation?
// * Make root window that's embedded in the browser.
// * When adding a control, give option to add as shown/hidden.
// * Move all WindowManager functionality into Window and apply it to Controls.
//  

function TestAll()
{
    let Container = new WM.Container(new int2(10, 10), new int2(1000, 800));
    Container.Show();

    let WindowA = new WM.Window("Window A", new int2(10, 10), new int2(200, 200));
    WindowA.Title = "Window A Changed";
    Container.Add(WindowA);

    WindowA.Add(new WM.Window("SubWindow A", new int2(10, 10), new int2(200, 200)));
    WindowA.Add(new WM.Window("SubWindow B", new int2(40, 40), new int2(200, 200)));

    Container.Add(new WM.Window("Window B", new int2(220, 10), new int2(200, 200)));
    Container.Add(new WM.Window("Window C", new int2(430, 10), new int2(200, 200)));
    Container.Add(new WM.Window("Window D", new int2(640, 10), new int2(200, 200)));
    Container.Add(new WM.Window("Window E", new int2(10, 220), new int2(200, 200)));
    Container.Add(new WM.Window("Window F", new int2(220, 220), new int2(200, 200)));
    Container.Add(new WM.Window("Window G", new int2(430, 220), new int2(200, 200)));
    Container.Add(new WM.Window("Window H", new int2(640, 220), new int2(200, 200)));
}
{'fraction_non_alphanumeric': 0.16838166510757718, 'fraction_numerical': 0.10430308699719364, 'mean_word_length': 3.5802997858672376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5029533', 'n_tokens_mistral': 891, 'n_tokens_neox': 734, 'n_words': 244}