<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;

namespace MetaDslx.CodeAnalysis.Languages.Test
{
    public class MetaTest : MetaTestBase
    {
        [Fact]
        public void ImmutableMetaModelTest()
        {
            var comp = Compile(@"..\..\..\..\..\Main\MetaDslx.CodeAnalysis.Meta\Languages\Meta\Model\ImmutableMetaModel.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(119, modelSymbols.Count);
        }

        [Fact]
        public void SoalTest()
        {
            var comp = Compile(@"..\..\..\Languages\Soal\Model\Soal.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(155, modelSymbols.Count);
        }

        [Fact]
        public void TestLangOneTest()
        {
            var comp = Compile(@"..\..\..\..\MetaDslx.CodeAnalysis.Antlr4.Test\Languages\TestLangOne\Model\TestLangOne.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(29, modelSymbols.Count);
        }

        [Fact]
        public void UmlModelTest()
        {
            var comp = Compile(@"..\..\..\Languages\WebSequenceDiagrams\Model\UmlModel.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(47, modelSymbols.Count);
        }

    }
}
<commit_msg>Property and operation redefinition fixed<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;

namespace MetaDslx.CodeAnalysis.Languages.Test
{
    public class MetaTest : MetaTestBase
    {
        [Fact]
        public void ImmutableMetaModelTest()
        {
            var comp = Compile(@"..\..\..\..\..\Main\MetaDslx.CodeAnalysis.Meta\Languages\Meta\Model\ImmutableMetaModel.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(138, modelSymbols.Count);
        }

        [Fact]
        public void SoalTest()
        {
            var comp = Compile(@"..\..\..\Languages\Soal\Model\Soal.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(155, modelSymbols.Count);
        }

        [Fact]
        public void TestLangOneTest()
        {
            var comp = Compile(@"..\..\..\..\MetaDslx.CodeAnalysis.Antlr4.Test\Languages\TestLangOne\Model\TestLangOne.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(29, modelSymbols.Count);
        }

        [Fact]
        public void UmlModelTest()
        {
            var comp = Compile(@"..\..\..\Languages\WebSequenceDiagrams\Model\UmlModel.mm");
            var model = comp.Model;
            var modelSymbols = model.Objects.ToList();
            Assert.Equal(47, modelSymbols.Count);
        }

    }
}

{'fraction_non_alphanumeric': 0.13263296126066973, 'fraction_numerical': 0.007222586999343401, 'mean_word_length': 1.8397017707362535, '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': '528672', 'n_tokens_mistral': 930, 'n_tokens_neox': 863, 'n_words': 156}