From 36ef18a0929344a665004a92a7e77b63f2c11d96 Mon Sep 17 00:00:00 2001 From: Nicklas Sindlev Andersen Date: Sun, 17 Sep 2023 15:23:01 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d4a14b5..c912757 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ import gleam_community/maths/arithmetics import gleam_community/maths/combinatorics import gleam_community/maths/elementary import gleam_community/maths/piecewise -import gleam_community/maths/tests +import gleam_community/maths/predicates import gleam/float pub fn main() { @@ -35,11 +35,11 @@ pub fn main() { // Returns List: Ok([1, 4]) // Determine if a number is fractional - tests.is_fractional(0.3333) + predicates.is_fractional(0.3333) // Returns Bool: True // Determine if 28 is a power of 3 - tests.is_power(28, 3) + predicates.is_power(28, 3) // Returns Bool: False // Generate all k = 1 combinations of [1, 2]