<commit_before>﻿using SimpSim.NET.Presentation.ViewModels;
using Xunit;

namespace SimpSim.NET.Presentation.Tests
{
    public class OutputViewModelTests
    {
        [Fact]
        public void ClearCommandShouldEmptyOutputWindow()
        {
            OutputViewModel viewModel = new OutputViewModel(new SimpleSimulator());

            viewModel.OutputWindowText = "This is some output text.";

            viewModel.ClearCommand.Execute(null);

            Assert.Null(viewModel.OutputWindowText);
        }
    }
}<commit_msg>Add assert to test.<commit_after>﻿using SimpSim.NET.Presentation.ViewModels;
using Xunit;

namespace SimpSim.NET.Presentation.Tests
{
    public class OutputViewModelTests
    {
        [Fact]
        public void ClearCommandShouldEmptyOutputWindow()
        {
            OutputViewModel viewModel = new OutputViewModel(new SimpleSimulator());

            viewModel.OutputWindowText = "This is some output text.";
            Assert.NotNull(viewModel.OutputWindowText);

            viewModel.ClearCommand.Execute(null);
            Assert.Null(viewModel.OutputWindowText);
        }
    }
}
{'fraction_non_alphanumeric': 0.08355555555555555, 'fraction_numerical': 0.0, 'mean_word_length': 2.740863787375415, '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': '1884813', 'n_tokens_mistral': 300, 'n_tokens_neox': 287, 'n_words': 56}