<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Simple.Data;

namespace Simple.Data.UnitTest
{
    [TestFixture]
    public class RangeTest
    {
        [Test]
        public void IntRangeTest()
        {
            var range = 1.to(10);
            Assert.AreEqual(1, range.Start);
            Assert.AreEqual(10, range.End);
        }

        [Test]
        public void StringToDateRangeTest()
        {
            var range = "01/01/2011".to("31/01/2011");
            Assert.AreEqual(new DateTime(2011,1,1), range.Start);
            Assert.AreEqual(new DateTime(2011,1,31), range.End);
        }<commit_msg>Fixed date format in RangeTest<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Simple.Data;

namespace Simple.Data.UnitTest
{
    [TestFixture]
    public class RangeTest
    {
        [Test]
        public void IntRangeTest()
        {
            var range = 1.to(10);
            Assert.AreEqual(1, range.Start);
            Assert.AreEqual(10, range.End);
        }

        [Test]
        public void StringToDateRangeTest()
        {
            var range = "2011-01-01".to("2011-01-31");
            Assert.AreEqual(new DateTime(2011,1,1), range.Start);
            Assert.AreEqual(new DateTime(2011,1,31), range.End);
        }
{'fraction_non_alphanumeric': 0.11872791519434629, 'fraction_numerical': 0.04946996466431095, 'mean_word_length': 2.1677852348993287, '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': '3809461', 'n_tokens_mistral': 466, 'n_tokens_neox': 424, 'n_words': 88}