<commit_before>﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GGProductions.LetterStorm.Data.Collections;

namespace Test.GGProductions.LetterStorm.Data.Collections
{
    [TestClass]
    public class LessonBookTests
    {
        [TestMethod]
        public void CreateSampleLessonTest()
        {
            // Create a lesson book with a sample lesson
            LessonBook lessonBook = new LessonBook();
            lessonBook.CreateSampleLesson();

            // Verify a lesson was created and that it has the correct name
            Assert.AreEqual(1, lessonBook.Lessons.Count);
            Assert.AreEqual("Sample Lesson", lessonBook.Lessons[0].Name);

            // Verify the lesson's words were created
            Assert.AreEqual(4, lessonBook.Lessons[0].Words.Count);
            Assert.AreEqual("cat", lessonBook.Lessons[0].Words[0].Text);
            Assert.AreEqual("dog", lessonBook.Lessons[0].Words[1].Text);
            Assert.AreEqual("fish", lessonBook.Lessons[0].Words[2].Text);
            Assert.AreEqual("horse", lessonBook.Lessons[0].Words[3].Text);
        }
    }
}<commit_msg>Update text case for CreateSampleLesson<commit_after>﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GGProductions.LetterStorm.Data.Collections;

namespace Test.GGProductions.LetterStorm.Data.Collections
{
    [TestClass]
    public class LessonBookTests
    {
        [TestMethod]
        public void CreateSampleLessonTest()
        {
            // Create a lesson book with a sample lesson
            LessonBook lessonBook = new LessonBook();
            lessonBook.CreateSampleLessons();

            // Verify a lesson was created and that it has the correct name
            Assert.AreEqual(5, lessonBook.Lessons.Count);
            Assert.AreEqual("K5 Sample", lessonBook.Lessons[0].Name);

            // Verify the lesson's words were created
            Assert.AreEqual(5, lessonBook.Lessons[0].Words.Count);
            Assert.AreEqual("cat", lessonBook.Lessons[0].Words[0].Text);
            Assert.AreEqual("dog", lessonBook.Lessons[0].Words[1].Text);
            Assert.AreEqual("bug", lessonBook.Lessons[0].Words[2].Text);
            Assert.AreEqual("fish", lessonBook.Lessons[0].Words[3].Text);
            Assert.AreEqual("horse", lessonBook.Lessons[0].Words[4].Text);
        }
    }
}
{'fraction_non_alphanumeric': 0.11411665257819104, 'fraction_numerical': 0.011411665257819104, 'mean_word_length': 2.6926677067082685, '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': '5713610', 'n_tokens_mistral': 680, 'n_tokens_neox': 661, 'n_words': 130}