0
comment
comment
on 2/8/2015 11:35 AM
In this post, we are going to test the escaped concact/split functions that we implemented last time. Along the way, it will become apparent why F# is an ideal language for writing .NET unit tests. These are the signatures of the two F# functions to be tested:
val concatEscape : esc:char -> sep:string -> strings:seq<string> -> string
val splitUnescape : esc:char -> sep:string -> string:string -> seq<string>
Seen from C# (e.g., in Visual Studio's object browser), the signatures would look like this:
public [...]