<commit_before>#r "../node_modules/fable-core/Fable.Core.dll"
#r "../npm/Fable.Import.SharePoint.dll"

open Fable.Core.Testing
open HSharp

let test() =
    let actual = 1
    let expected = 1
    Assert.AreEqual(expected, actual)

type PageWithoutPath() =
    interface IPage with
        member m.path = null
        member m.render () = ()

type PageWithoutPathApp() =        
    interface IApplicationV2 with 
        member this.isDebug = false
        member this.getPages () = 
            [|
                PageWithoutPath()
            |]
        member this.getSites () =
            [|
            |]
        member this.getScheduledTasks() =
            [|
            |]

let testPageWithoutPath() =
    HSharp.startApplication( ApplicationV2Wrapper(PageWithoutPathApp()) )

test()
testPageWithoutPath()
printfn "Test finished correctly"<commit_msg>tests compile<commit_after>#r "../node_modules/fable-core/Fable.Core.dll"
#r "../npm/Fable.Import.SharePoint.dll"

open Fable.Core.Testing
open HSharp

let test() =
    let actual = 1
    let expected = 1
    Assert.AreEqual(expected, actual)

type PageWithoutPath() =
    interface IPage with
        member m.path = null
        member m.render () = ()

type PageWithoutPathApp() =        
    interface IApplicationV2 with 
        member this.isDebug = false
        member this.getPages () = 
            [|
                PageWithoutPath()
            |]
        member this.getSites () =
            [|
            |]
        member this.getScheduledTasks() =
            [|
            |]

let testPageWithoutPath() =
    HSharp.startApplication( null, ApplicationV2Wrapper(null, PageWithoutPathApp()) )

test()
testPageWithoutPath()
printfn "Test finished correctly"
{'fraction_non_alphanumeric': 0.10804597701149425, 'fraction_numerical': 0.004597701149425287, 'mean_word_length': 2.131294964028777, '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': '2429984', 'n_tokens_mistral': 524, 'n_tokens_neox': 503, 'n_words': 108}