Pentole/tests/string_tests.fs

12 lines
190 B
Forth
Raw Normal View History

2024-08-29 11:35:03 +02:00
module Tests.String
open NUnit.Framework
2024-12-12 11:37:59 +01:00
open Pentole.Assert
2024-08-29 11:35:03 +02:00
open Pentole
[<Test>]
let split_test () =
let target = "a/b/c"
2024-12-12 10:37:42 +01:00
seqEqual (target.Split("/")) (String.split "/" target)