<commit_before>Describe "New-TimeSpan" {
    It "Should be able to create a new timespan object" {
	New-Variable -Name testObject -Value $(New-TimeSpan)

	$testObject.GetType() | Should Be timespan
    }

    Context "Core Functionality Tests" {
	New-Variable -Name testObject -Value $(New-TimeSpan -Days 2 -Hours 23 -Minutes 4 -Seconds 3) -Force

	$expectedOutput = @{ "Days"              = "2";
			     "Hours"             = "23";
			     "Minutes"           = "4";
			     "Seconds"           = "3";
			     "Milliseconds"      = "0";
			     "Ticks"             = "2558430000000";
			     "TotalDays"         = "2.96114583333333";
			     "TotalHours"        = "71.0675";
			     "TotalMinutes"      = "4264.05";
			     "TotalSeconds"      = "255843";
			     "TotalMilliseconds" = "255843000"
			   }

	$TEN_MILLION = 10000000

	It "Should have expected values for time properties set during creation" {<commit_msg>Add Unit Test for New-TimeSpan<commit_after>Describe "New-TimeSpan DRT Unit Tests" -Tags DRT{ 
     It "Should works proper with new-timespan"{
         $results =  New-TimeSpan -Days 10 -Hours 10 -Minutes 10 -Seconds 10
         $results.GetType() | Should Be timespan
         $results.Days | Should Be 10
         $results.Hours | Should Be 10
         $results.Minutes | Should Be 10
         $results.Seconds | Should Be 10
    }
}

Describe "New-TimeSpan" {
    It "Should be able to create a new timespan object" {
	New-Variable -Name testObject -Value $(New-TimeSpan)

	$testObject.GetType() | Should Be timespan
    }

    Context "Core Functionality Tests" {
	New-Variable -Name testObject -Value $(New-TimeSpan -Days 2 -Hours 23 -Minutes 4 -Seconds 3) -Force

	$expectedOutput = @{ "Days"              = "2";
			     "Hours"             = "23";
			     "Minutes"           = "4";
			     "Seconds"           = "3";
			     "Milliseconds"      = "0";
			     "Ticks"             = "2558430000000";
			     "TotalDays"         = "2.96114583333333";
			     "TotalHours"        = "71.0675";
			     "TotalMinutes"      = "4264.05";
			     "TotalSeconds"      = "255843";
			     "TotalMilliseconds" = "255843000"
			   }

	$TEN_MILLION = 10000000

	It "Should have expected values for time properties set during creation" {
{'fraction_non_alphanumeric': 0.11895250776742122, 'fraction_numerical': 0.07279183311140701, 'mean_word_length': 1.9893899204244032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, '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': '3001749', 'n_tokens_mistral': 889, 'n_tokens_neox': 694, 'n_words': 197}