Pentole/tests/bytes_tests.fs
Francesco Mecca 0dd7d295a1 tests
2024-09-16 18:18:24 +02:00

11 lines
242 B
Forth

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