Source

Linq2vk / src / VkontakteAPI / Linq2vk / Tests.fs

Full commit
namespace Linq2vk.Tests

open Linq2vk

//    let signatureTest () =
//        let query = Query.init()
//                    |> Query.add "fields" "photo,sex"
//                    |> Query.add "format" "JSON"
//                    |> Query.add "api_id" "1854119"
//                    |> Query.add "method" "getProfiles"
//                    |> Query.add "uids" "100172"
//                    |> Query.add "v" "3.0"
//        let actual = createSignature 100172L "655df68ded" query
//        let expected = "4a5bf45c9fe5c66d3afa73d8520fe46a"
//        actual = expected