local testimony = require("testimony") local litls = require("litls.core") local testify = testimony.new("== LITLS secure_memcmp ==") testify:that("secure_memcmp returns true for equal strings", function() testimony.assert_true(litls.secure_memcmp("abc", "abc")) end) testify:that("secure_memcmp returns false for different same-length strings", function() testimony.assert_false(litls.secure_memcmp("abc", "abd")) end) testify:that("secure_memcmp returns false for different length strings", function() testimony.assert_false(litls.secure_memcmp("abc", "abcd")) end) testify:conclude()