Pentole/tests/bytes_tests.fs
2024-09-16 18:05:24 +02:00

11 lines
239 B
Forth

module Tests.BinaryPrefix
open NUnit.Framework
open Pentole.TestsExtensions
open Pentole.BinaryPrefix
[<Test>]
let split_test () =
Assert.are_equal (Bytes.KB 1) (Bytes.Byte 1000)
Assert.are_equal (Bytes.KiB 1) (Bytes.Byte 1024)