From 32576b154caf42bb4c6834c4ae2ce6f07d402976 Mon Sep 17 00:00:00 2001 From: Nicholas Berlette Date: Fri, 23 Jan 2026 17:56:08 -0800 Subject: [PATCH 1/3] refactor(tests): move all .test.ts files into an isolated tests dir --- {src => tests}/abs.test.ts | 0 {src => tests}/acos.test.ts | 0 {src => tests}/acosh.test.ts | 0 {src => tests}/asin.test.ts | 0 {src => tests}/asinh.test.ts | 0 {src => tests}/atan.test.ts | 0 {src => tests}/atan2.test.ts | 0 {src => tests}/atanh.test.ts | 0 {src => tests}/cbrt.test.ts | 0 {src => tests}/ceil.test.ts | 0 {src => tests}/clamp.test.ts | 0 {src => tests}/clz32.test.ts | 0 {src => tests}/constants.test.ts | 0 {src => tests}/constants/e.test.ts | 0 {src => tests}/constants/epsilon.test.ts | 0 {src => tests}/constants/index.test.ts | 0 {src => tests}/constants/infinity.test.ts | 0 {src => tests}/constants/ln10.test.ts | 0 {src => tests}/constants/ln2.test.ts | 0 {src => tests}/constants/log10e.test.ts | 0 {src => tests}/constants/log2e.test.ts | 0 {src => tests}/constants/max_safe_integer.test.ts | 0 {src => tests}/constants/max_value.test.ts | 0 {src => tests}/constants/min_safe_integer.test.ts | 0 {src => tests}/constants/min_value.test.ts | 0 {src => tests}/constants/nan.test.ts | 0 {src => tests}/constants/negative_infinity.test.ts | 0 {src => tests}/constants/negative_zero.test.ts | 0 {src => tests}/constants/pi.test.ts | 0 {src => tests}/constants/positive_infinity.test.ts | 0 {src => tests}/constants/positive_zero.test.ts | 0 {src => tests}/constants/sqrt1_2.test.ts | 0 {src => tests}/constants/sqrt2.test.ts | 0 {src => tests}/cos.test.ts | 0 {src => tests}/cosh.test.ts | 0 {src => tests}/exp.test.ts | 0 {src => tests}/expm1.test.ts | 0 {src => tests}/f16round.test.ts | 0 {src => tests}/float16/constants.test.ts | 0 {src => tests}/float16/decode.test.ts | 0 {src => tests}/float16/encode.test.ts | 0 {src => tests}/float16/guards.test.ts | 0 {src => tests}/float16/index.test.ts | 0 {src => tests}/float16/round.test.ts | 0 {src => tests}/float32/constants.test.ts | 0 {src => tests}/float32/decode.test.ts | 0 {src => tests}/float32/encode.test.ts | 0 {src => tests}/float32/guards.test.ts | 0 {src => tests}/float32/index.test.ts | 0 {src => tests}/float32/round.test.ts | 0 {src => tests}/floor.test.ts | 0 {src => tests}/fround.test.ts | 0 {src => tests}/guards/finite.test.ts | 0 {src => tests}/guards/index.test.ts | 0 {src => tests}/guards/infinity.test.ts | 0 {src => tests}/guards/integer.test.ts | 0 {src => tests}/guards/nan.test.ts | 0 {src => tests}/guards/negative_infinity.test.ts | 0 {src => tests}/guards/negative_zero.test.ts | 0 {src => tests}/guards/positive_infinity.test.ts | 0 {src => tests}/guards/positive_zero.test.ts | 0 {src => tests}/guards/safe_integer.test.ts | 0 {src => tests}/hypot.test.ts | 0 {src => tests}/ieee754.test.ts | 0 {src => tests}/imul.test.ts | 0 {src => tests}/index.test.ts | 0 {src => tests}/log.test.ts | 0 {src => tests}/log10.test.ts | 0 {src => tests}/log1p.test.ts | 0 {src => tests}/log2.test.ts | 0 {src => tests}/max.test.ts | 0 {src => tests}/min.test.ts | 0 {src => tests}/pow.test.ts | 0 {src => tests}/random.test.ts | 0 {src => tests}/round.test.ts | 0 {src => tests}/sign.test.ts | 0 {src => tests}/sin.test.ts | 0 {src => tests}/sinh.test.ts | 0 {src => tests}/sqrt.test.ts | 0 {src => tests}/tan.test.ts | 0 {src => tests}/tanh.test.ts | 0 {src => tests}/trigonometry.test.ts | 0 {src => tests}/trunc.test.ts | 0 {src => tests}/types/finite.test.ts | 0 {src => tests}/types/float.test.ts | 0 {src => tests}/types/index.test.ts | 0 {src => tests}/types/integer.test.ts | 0 {src => tests}/types/precision.test.ts | 0 {src => tests}/types/safe_integer.test.ts | 0 89 files changed, 0 insertions(+), 0 deletions(-) rename {src => tests}/abs.test.ts (100%) rename {src => tests}/acos.test.ts (100%) rename {src => tests}/acosh.test.ts (100%) rename {src => tests}/asin.test.ts (100%) rename {src => tests}/asinh.test.ts (100%) rename {src => tests}/atan.test.ts (100%) rename {src => tests}/atan2.test.ts (100%) rename {src => tests}/atanh.test.ts (100%) rename {src => tests}/cbrt.test.ts (100%) rename {src => tests}/ceil.test.ts (100%) rename {src => tests}/clamp.test.ts (100%) rename {src => tests}/clz32.test.ts (100%) rename {src => tests}/constants.test.ts (100%) rename {src => tests}/constants/e.test.ts (100%) rename {src => tests}/constants/epsilon.test.ts (100%) rename {src => tests}/constants/index.test.ts (100%) rename {src => tests}/constants/infinity.test.ts (100%) rename {src => tests}/constants/ln10.test.ts (100%) rename {src => tests}/constants/ln2.test.ts (100%) rename {src => tests}/constants/log10e.test.ts (100%) rename {src => tests}/constants/log2e.test.ts (100%) rename {src => tests}/constants/max_safe_integer.test.ts (100%) rename {src => tests}/constants/max_value.test.ts (100%) rename {src => tests}/constants/min_safe_integer.test.ts (100%) rename {src => tests}/constants/min_value.test.ts (100%) rename {src => tests}/constants/nan.test.ts (100%) rename {src => tests}/constants/negative_infinity.test.ts (100%) rename {src => tests}/constants/negative_zero.test.ts (100%) rename {src => tests}/constants/pi.test.ts (100%) rename {src => tests}/constants/positive_infinity.test.ts (100%) rename {src => tests}/constants/positive_zero.test.ts (100%) rename {src => tests}/constants/sqrt1_2.test.ts (100%) rename {src => tests}/constants/sqrt2.test.ts (100%) rename {src => tests}/cos.test.ts (100%) rename {src => tests}/cosh.test.ts (100%) rename {src => tests}/exp.test.ts (100%) rename {src => tests}/expm1.test.ts (100%) rename {src => tests}/f16round.test.ts (100%) rename {src => tests}/float16/constants.test.ts (100%) rename {src => tests}/float16/decode.test.ts (100%) rename {src => tests}/float16/encode.test.ts (100%) rename {src => tests}/float16/guards.test.ts (100%) rename {src => tests}/float16/index.test.ts (100%) rename {src => tests}/float16/round.test.ts (100%) rename {src => tests}/float32/constants.test.ts (100%) rename {src => tests}/float32/decode.test.ts (100%) rename {src => tests}/float32/encode.test.ts (100%) rename {src => tests}/float32/guards.test.ts (100%) rename {src => tests}/float32/index.test.ts (100%) rename {src => tests}/float32/round.test.ts (100%) rename {src => tests}/floor.test.ts (100%) rename {src => tests}/fround.test.ts (100%) rename {src => tests}/guards/finite.test.ts (100%) rename {src => tests}/guards/index.test.ts (100%) rename {src => tests}/guards/infinity.test.ts (100%) rename {src => tests}/guards/integer.test.ts (100%) rename {src => tests}/guards/nan.test.ts (100%) rename {src => tests}/guards/negative_infinity.test.ts (100%) rename {src => tests}/guards/negative_zero.test.ts (100%) rename {src => tests}/guards/positive_infinity.test.ts (100%) rename {src => tests}/guards/positive_zero.test.ts (100%) rename {src => tests}/guards/safe_integer.test.ts (100%) rename {src => tests}/hypot.test.ts (100%) rename {src => tests}/ieee754.test.ts (100%) rename {src => tests}/imul.test.ts (100%) rename {src => tests}/index.test.ts (100%) rename {src => tests}/log.test.ts (100%) rename {src => tests}/log10.test.ts (100%) rename {src => tests}/log1p.test.ts (100%) rename {src => tests}/log2.test.ts (100%) rename {src => tests}/max.test.ts (100%) rename {src => tests}/min.test.ts (100%) rename {src => tests}/pow.test.ts (100%) rename {src => tests}/random.test.ts (100%) rename {src => tests}/round.test.ts (100%) rename {src => tests}/sign.test.ts (100%) rename {src => tests}/sin.test.ts (100%) rename {src => tests}/sinh.test.ts (100%) rename {src => tests}/sqrt.test.ts (100%) rename {src => tests}/tan.test.ts (100%) rename {src => tests}/tanh.test.ts (100%) rename {src => tests}/trigonometry.test.ts (100%) rename {src => tests}/trunc.test.ts (100%) rename {src => tests}/types/finite.test.ts (100%) rename {src => tests}/types/float.test.ts (100%) rename {src => tests}/types/index.test.ts (100%) rename {src => tests}/types/integer.test.ts (100%) rename {src => tests}/types/precision.test.ts (100%) rename {src => tests}/types/safe_integer.test.ts (100%) diff --git a/src/abs.test.ts b/tests/abs.test.ts similarity index 100% rename from src/abs.test.ts rename to tests/abs.test.ts diff --git a/src/acos.test.ts b/tests/acos.test.ts similarity index 100% rename from src/acos.test.ts rename to tests/acos.test.ts diff --git a/src/acosh.test.ts b/tests/acosh.test.ts similarity index 100% rename from src/acosh.test.ts rename to tests/acosh.test.ts diff --git a/src/asin.test.ts b/tests/asin.test.ts similarity index 100% rename from src/asin.test.ts rename to tests/asin.test.ts diff --git a/src/asinh.test.ts b/tests/asinh.test.ts similarity index 100% rename from src/asinh.test.ts rename to tests/asinh.test.ts diff --git a/src/atan.test.ts b/tests/atan.test.ts similarity index 100% rename from src/atan.test.ts rename to tests/atan.test.ts diff --git a/src/atan2.test.ts b/tests/atan2.test.ts similarity index 100% rename from src/atan2.test.ts rename to tests/atan2.test.ts diff --git a/src/atanh.test.ts b/tests/atanh.test.ts similarity index 100% rename from src/atanh.test.ts rename to tests/atanh.test.ts diff --git a/src/cbrt.test.ts b/tests/cbrt.test.ts similarity index 100% rename from src/cbrt.test.ts rename to tests/cbrt.test.ts diff --git a/src/ceil.test.ts b/tests/ceil.test.ts similarity index 100% rename from src/ceil.test.ts rename to tests/ceil.test.ts diff --git a/src/clamp.test.ts b/tests/clamp.test.ts similarity index 100% rename from src/clamp.test.ts rename to tests/clamp.test.ts diff --git a/src/clz32.test.ts b/tests/clz32.test.ts similarity index 100% rename from src/clz32.test.ts rename to tests/clz32.test.ts diff --git a/src/constants.test.ts b/tests/constants.test.ts similarity index 100% rename from src/constants.test.ts rename to tests/constants.test.ts diff --git a/src/constants/e.test.ts b/tests/constants/e.test.ts similarity index 100% rename from src/constants/e.test.ts rename to tests/constants/e.test.ts diff --git a/src/constants/epsilon.test.ts b/tests/constants/epsilon.test.ts similarity index 100% rename from src/constants/epsilon.test.ts rename to tests/constants/epsilon.test.ts diff --git a/src/constants/index.test.ts b/tests/constants/index.test.ts similarity index 100% rename from src/constants/index.test.ts rename to tests/constants/index.test.ts diff --git a/src/constants/infinity.test.ts b/tests/constants/infinity.test.ts similarity index 100% rename from src/constants/infinity.test.ts rename to tests/constants/infinity.test.ts diff --git a/src/constants/ln10.test.ts b/tests/constants/ln10.test.ts similarity index 100% rename from src/constants/ln10.test.ts rename to tests/constants/ln10.test.ts diff --git a/src/constants/ln2.test.ts b/tests/constants/ln2.test.ts similarity index 100% rename from src/constants/ln2.test.ts rename to tests/constants/ln2.test.ts diff --git a/src/constants/log10e.test.ts b/tests/constants/log10e.test.ts similarity index 100% rename from src/constants/log10e.test.ts rename to tests/constants/log10e.test.ts diff --git a/src/constants/log2e.test.ts b/tests/constants/log2e.test.ts similarity index 100% rename from src/constants/log2e.test.ts rename to tests/constants/log2e.test.ts diff --git a/src/constants/max_safe_integer.test.ts b/tests/constants/max_safe_integer.test.ts similarity index 100% rename from src/constants/max_safe_integer.test.ts rename to tests/constants/max_safe_integer.test.ts diff --git a/src/constants/max_value.test.ts b/tests/constants/max_value.test.ts similarity index 100% rename from src/constants/max_value.test.ts rename to tests/constants/max_value.test.ts diff --git a/src/constants/min_safe_integer.test.ts b/tests/constants/min_safe_integer.test.ts similarity index 100% rename from src/constants/min_safe_integer.test.ts rename to tests/constants/min_safe_integer.test.ts diff --git a/src/constants/min_value.test.ts b/tests/constants/min_value.test.ts similarity index 100% rename from src/constants/min_value.test.ts rename to tests/constants/min_value.test.ts diff --git a/src/constants/nan.test.ts b/tests/constants/nan.test.ts similarity index 100% rename from src/constants/nan.test.ts rename to tests/constants/nan.test.ts diff --git a/src/constants/negative_infinity.test.ts b/tests/constants/negative_infinity.test.ts similarity index 100% rename from src/constants/negative_infinity.test.ts rename to tests/constants/negative_infinity.test.ts diff --git a/src/constants/negative_zero.test.ts b/tests/constants/negative_zero.test.ts similarity index 100% rename from src/constants/negative_zero.test.ts rename to tests/constants/negative_zero.test.ts diff --git a/src/constants/pi.test.ts b/tests/constants/pi.test.ts similarity index 100% rename from src/constants/pi.test.ts rename to tests/constants/pi.test.ts diff --git a/src/constants/positive_infinity.test.ts b/tests/constants/positive_infinity.test.ts similarity index 100% rename from src/constants/positive_infinity.test.ts rename to tests/constants/positive_infinity.test.ts diff --git a/src/constants/positive_zero.test.ts b/tests/constants/positive_zero.test.ts similarity index 100% rename from src/constants/positive_zero.test.ts rename to tests/constants/positive_zero.test.ts diff --git a/src/constants/sqrt1_2.test.ts b/tests/constants/sqrt1_2.test.ts similarity index 100% rename from src/constants/sqrt1_2.test.ts rename to tests/constants/sqrt1_2.test.ts diff --git a/src/constants/sqrt2.test.ts b/tests/constants/sqrt2.test.ts similarity index 100% rename from src/constants/sqrt2.test.ts rename to tests/constants/sqrt2.test.ts diff --git a/src/cos.test.ts b/tests/cos.test.ts similarity index 100% rename from src/cos.test.ts rename to tests/cos.test.ts diff --git a/src/cosh.test.ts b/tests/cosh.test.ts similarity index 100% rename from src/cosh.test.ts rename to tests/cosh.test.ts diff --git a/src/exp.test.ts b/tests/exp.test.ts similarity index 100% rename from src/exp.test.ts rename to tests/exp.test.ts diff --git a/src/expm1.test.ts b/tests/expm1.test.ts similarity index 100% rename from src/expm1.test.ts rename to tests/expm1.test.ts diff --git a/src/f16round.test.ts b/tests/f16round.test.ts similarity index 100% rename from src/f16round.test.ts rename to tests/f16round.test.ts diff --git a/src/float16/constants.test.ts b/tests/float16/constants.test.ts similarity index 100% rename from src/float16/constants.test.ts rename to tests/float16/constants.test.ts diff --git a/src/float16/decode.test.ts b/tests/float16/decode.test.ts similarity index 100% rename from src/float16/decode.test.ts rename to tests/float16/decode.test.ts diff --git a/src/float16/encode.test.ts b/tests/float16/encode.test.ts similarity index 100% rename from src/float16/encode.test.ts rename to tests/float16/encode.test.ts diff --git a/src/float16/guards.test.ts b/tests/float16/guards.test.ts similarity index 100% rename from src/float16/guards.test.ts rename to tests/float16/guards.test.ts diff --git a/src/float16/index.test.ts b/tests/float16/index.test.ts similarity index 100% rename from src/float16/index.test.ts rename to tests/float16/index.test.ts diff --git a/src/float16/round.test.ts b/tests/float16/round.test.ts similarity index 100% rename from src/float16/round.test.ts rename to tests/float16/round.test.ts diff --git a/src/float32/constants.test.ts b/tests/float32/constants.test.ts similarity index 100% rename from src/float32/constants.test.ts rename to tests/float32/constants.test.ts diff --git a/src/float32/decode.test.ts b/tests/float32/decode.test.ts similarity index 100% rename from src/float32/decode.test.ts rename to tests/float32/decode.test.ts diff --git a/src/float32/encode.test.ts b/tests/float32/encode.test.ts similarity index 100% rename from src/float32/encode.test.ts rename to tests/float32/encode.test.ts diff --git a/src/float32/guards.test.ts b/tests/float32/guards.test.ts similarity index 100% rename from src/float32/guards.test.ts rename to tests/float32/guards.test.ts diff --git a/src/float32/index.test.ts b/tests/float32/index.test.ts similarity index 100% rename from src/float32/index.test.ts rename to tests/float32/index.test.ts diff --git a/src/float32/round.test.ts b/tests/float32/round.test.ts similarity index 100% rename from src/float32/round.test.ts rename to tests/float32/round.test.ts diff --git a/src/floor.test.ts b/tests/floor.test.ts similarity index 100% rename from src/floor.test.ts rename to tests/floor.test.ts diff --git a/src/fround.test.ts b/tests/fround.test.ts similarity index 100% rename from src/fround.test.ts rename to tests/fround.test.ts diff --git a/src/guards/finite.test.ts b/tests/guards/finite.test.ts similarity index 100% rename from src/guards/finite.test.ts rename to tests/guards/finite.test.ts diff --git a/src/guards/index.test.ts b/tests/guards/index.test.ts similarity index 100% rename from src/guards/index.test.ts rename to tests/guards/index.test.ts diff --git a/src/guards/infinity.test.ts b/tests/guards/infinity.test.ts similarity index 100% rename from src/guards/infinity.test.ts rename to tests/guards/infinity.test.ts diff --git a/src/guards/integer.test.ts b/tests/guards/integer.test.ts similarity index 100% rename from src/guards/integer.test.ts rename to tests/guards/integer.test.ts diff --git a/src/guards/nan.test.ts b/tests/guards/nan.test.ts similarity index 100% rename from src/guards/nan.test.ts rename to tests/guards/nan.test.ts diff --git a/src/guards/negative_infinity.test.ts b/tests/guards/negative_infinity.test.ts similarity index 100% rename from src/guards/negative_infinity.test.ts rename to tests/guards/negative_infinity.test.ts diff --git a/src/guards/negative_zero.test.ts b/tests/guards/negative_zero.test.ts similarity index 100% rename from src/guards/negative_zero.test.ts rename to tests/guards/negative_zero.test.ts diff --git a/src/guards/positive_infinity.test.ts b/tests/guards/positive_infinity.test.ts similarity index 100% rename from src/guards/positive_infinity.test.ts rename to tests/guards/positive_infinity.test.ts diff --git a/src/guards/positive_zero.test.ts b/tests/guards/positive_zero.test.ts similarity index 100% rename from src/guards/positive_zero.test.ts rename to tests/guards/positive_zero.test.ts diff --git a/src/guards/safe_integer.test.ts b/tests/guards/safe_integer.test.ts similarity index 100% rename from src/guards/safe_integer.test.ts rename to tests/guards/safe_integer.test.ts diff --git a/src/hypot.test.ts b/tests/hypot.test.ts similarity index 100% rename from src/hypot.test.ts rename to tests/hypot.test.ts diff --git a/src/ieee754.test.ts b/tests/ieee754.test.ts similarity index 100% rename from src/ieee754.test.ts rename to tests/ieee754.test.ts diff --git a/src/imul.test.ts b/tests/imul.test.ts similarity index 100% rename from src/imul.test.ts rename to tests/imul.test.ts diff --git a/src/index.test.ts b/tests/index.test.ts similarity index 100% rename from src/index.test.ts rename to tests/index.test.ts diff --git a/src/log.test.ts b/tests/log.test.ts similarity index 100% rename from src/log.test.ts rename to tests/log.test.ts diff --git a/src/log10.test.ts b/tests/log10.test.ts similarity index 100% rename from src/log10.test.ts rename to tests/log10.test.ts diff --git a/src/log1p.test.ts b/tests/log1p.test.ts similarity index 100% rename from src/log1p.test.ts rename to tests/log1p.test.ts diff --git a/src/log2.test.ts b/tests/log2.test.ts similarity index 100% rename from src/log2.test.ts rename to tests/log2.test.ts diff --git a/src/max.test.ts b/tests/max.test.ts similarity index 100% rename from src/max.test.ts rename to tests/max.test.ts diff --git a/src/min.test.ts b/tests/min.test.ts similarity index 100% rename from src/min.test.ts rename to tests/min.test.ts diff --git a/src/pow.test.ts b/tests/pow.test.ts similarity index 100% rename from src/pow.test.ts rename to tests/pow.test.ts diff --git a/src/random.test.ts b/tests/random.test.ts similarity index 100% rename from src/random.test.ts rename to tests/random.test.ts diff --git a/src/round.test.ts b/tests/round.test.ts similarity index 100% rename from src/round.test.ts rename to tests/round.test.ts diff --git a/src/sign.test.ts b/tests/sign.test.ts similarity index 100% rename from src/sign.test.ts rename to tests/sign.test.ts diff --git a/src/sin.test.ts b/tests/sin.test.ts similarity index 100% rename from src/sin.test.ts rename to tests/sin.test.ts diff --git a/src/sinh.test.ts b/tests/sinh.test.ts similarity index 100% rename from src/sinh.test.ts rename to tests/sinh.test.ts diff --git a/src/sqrt.test.ts b/tests/sqrt.test.ts similarity index 100% rename from src/sqrt.test.ts rename to tests/sqrt.test.ts diff --git a/src/tan.test.ts b/tests/tan.test.ts similarity index 100% rename from src/tan.test.ts rename to tests/tan.test.ts diff --git a/src/tanh.test.ts b/tests/tanh.test.ts similarity index 100% rename from src/tanh.test.ts rename to tests/tanh.test.ts diff --git a/src/trigonometry.test.ts b/tests/trigonometry.test.ts similarity index 100% rename from src/trigonometry.test.ts rename to tests/trigonometry.test.ts diff --git a/src/trunc.test.ts b/tests/trunc.test.ts similarity index 100% rename from src/trunc.test.ts rename to tests/trunc.test.ts diff --git a/src/types/finite.test.ts b/tests/types/finite.test.ts similarity index 100% rename from src/types/finite.test.ts rename to tests/types/finite.test.ts diff --git a/src/types/float.test.ts b/tests/types/float.test.ts similarity index 100% rename from src/types/float.test.ts rename to tests/types/float.test.ts diff --git a/src/types/index.test.ts b/tests/types/index.test.ts similarity index 100% rename from src/types/index.test.ts rename to tests/types/index.test.ts diff --git a/src/types/integer.test.ts b/tests/types/integer.test.ts similarity index 100% rename from src/types/integer.test.ts rename to tests/types/integer.test.ts diff --git a/src/types/precision.test.ts b/tests/types/precision.test.ts similarity index 100% rename from src/types/precision.test.ts rename to tests/types/precision.test.ts diff --git a/src/types/safe_integer.test.ts b/tests/types/safe_integer.test.ts similarity index 100% rename from src/types/safe_integer.test.ts rename to tests/types/safe_integer.test.ts From 904b5f4db9f371e72668dd6950272296e16cd53c Mon Sep 17 00:00:00 2001 From: Nicholas Berlette Date: Fri, 23 Jan 2026 17:57:58 -0800 Subject: [PATCH 2/3] fix(tests): update import paths for all test files --- tests/abs.test.ts | 4 ++-- tests/acos.test.ts | 4 ++-- tests/acosh.test.ts | 4 ++-- tests/asin.test.ts | 4 ++-- tests/asinh.test.ts | 4 ++-- tests/atan.test.ts | 4 ++-- tests/atan2.test.ts | 8 ++++---- tests/atanh.test.ts | 4 ++-- tests/cbrt.test.ts | 4 ++-- tests/ceil.test.ts | 4 ++-- tests/clamp.test.ts | 2 +- tests/clz32.test.ts | 4 ++-- tests/constants.test.ts | 4 ++-- tests/constants/e.test.ts | 2 +- tests/constants/epsilon.test.ts | 2 +- tests/constants/index.test.ts | 2 +- tests/constants/infinity.test.ts | 2 +- tests/constants/ln10.test.ts | 2 +- tests/constants/ln2.test.ts | 2 +- tests/constants/log10e.test.ts | 2 +- tests/constants/log2e.test.ts | 2 +- tests/constants/max_safe_integer.test.ts | 2 +- tests/constants/max_value.test.ts | 2 +- tests/constants/min_safe_integer.test.ts | 2 +- tests/constants/min_value.test.ts | 2 +- tests/constants/nan.test.ts | 2 +- tests/constants/negative_infinity.test.ts | 2 +- tests/constants/negative_zero.test.ts | 2 +- tests/constants/pi.test.ts | 2 +- tests/constants/positive_infinity.test.ts | 2 +- tests/constants/positive_zero.test.ts | 2 +- tests/constants/sqrt1_2.test.ts | 2 +- tests/constants/sqrt2.test.ts | 2 +- tests/cos.test.ts | 4 ++-- tests/cosh.test.ts | 4 ++-- tests/exp.test.ts | 4 ++-- tests/expm1.test.ts | 4 ++-- tests/f16round.test.ts | 4 ++-- tests/float16/constants.test.ts | 2 +- tests/float16/decode.test.ts | 2 +- tests/float16/encode.test.ts | 2 +- tests/float16/guards.test.ts | 4 ++-- tests/float16/index.test.ts | 2 +- tests/float16/round.test.ts | 2 +- tests/float32/constants.test.ts | 2 +- tests/float32/decode.test.ts | 2 +- tests/float32/encode.test.ts | 2 +- tests/float32/guards.test.ts | 4 ++-- tests/float32/index.test.ts | 2 +- tests/float32/round.test.ts | 2 +- tests/floor.test.ts | 4 ++-- tests/fround.test.ts | 4 ++-- tests/guards/finite.test.ts | 2 +- tests/guards/index.test.ts | 2 +- tests/guards/infinity.test.ts | 2 +- tests/guards/integer.test.ts | 2 +- tests/guards/nan.test.ts | 2 +- tests/guards/negative_infinity.test.ts | 2 +- tests/guards/negative_zero.test.ts | 2 +- tests/guards/positive_infinity.test.ts | 2 +- tests/guards/positive_zero.test.ts | 2 +- tests/guards/safe_integer.test.ts | 2 +- tests/hypot.test.ts | 4 ++-- tests/ieee754.test.ts | 2 +- tests/imul.test.ts | 4 ++-- tests/index.test.ts | 6 +++--- tests/log.test.ts | 4 ++-- tests/log10.test.ts | 4 ++-- tests/log1p.test.ts | 4 ++-- tests/log2.test.ts | 4 ++-- tests/max.test.ts | 4 ++-- tests/min.test.ts | 4 ++-- tests/pow.test.ts | 4 ++-- tests/random.test.ts | 2 +- tests/round.test.ts | 4 ++-- tests/sign.test.ts | 4 ++-- tests/sin.test.ts | 4 ++-- tests/sinh.test.ts | 4 ++-- tests/sqrt.test.ts | 4 ++-- tests/tan.test.ts | 4 ++-- tests/tanh.test.ts | 4 ++-- tests/trigonometry.test.ts | 4 ++-- tests/trunc.test.ts | 4 ++-- tests/types/finite.test.ts | 2 +- tests/types/float.test.ts | 2 +- tests/types/index.test.ts | 2 +- tests/types/integer.test.ts | 2 +- tests/types/precision.test.ts | 2 +- tests/types/safe_integer.test.ts | 2 +- 89 files changed, 132 insertions(+), 132 deletions(-) diff --git a/tests/abs.test.ts b/tests/abs.test.ts index ccf668a..f0707a6 100644 --- a/tests/abs.test.ts +++ b/tests/abs.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { abs } from "./abs.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { abs } from "../src/abs.ts"; const cases: number[] = [ -2.5, diff --git a/tests/acos.test.ts b/tests/acos.test.ts index 8fc681c..f590b22 100644 --- a/tests/acos.test.ts +++ b/tests/acos.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { acos } from "./acos.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { acos } from "../src/acos.ts"; const cases: number[] = [ -2.5, diff --git a/tests/acosh.test.ts b/tests/acosh.test.ts index 5e2f4e1..3f065aa 100644 --- a/tests/acosh.test.ts +++ b/tests/acosh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { acosh } from "./acosh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { acosh } from "../src/acosh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/asin.test.ts b/tests/asin.test.ts index 90cbf2e..fe181ab 100644 --- a/tests/asin.test.ts +++ b/tests/asin.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { asin } from "./asin.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { asin } from "../src/asin.ts"; const cases: number[] = [ -2.5, diff --git a/tests/asinh.test.ts b/tests/asinh.test.ts index 7253df6..7869adc 100644 --- a/tests/asinh.test.ts +++ b/tests/asinh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { asinh } from "./asinh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { asinh } from "../src/asinh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/atan.test.ts b/tests/atan.test.ts index 208073b..dd7c53f 100644 --- a/tests/atan.test.ts +++ b/tests/atan.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { atan } from "./atan.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { atan } from "../src/atan.ts"; const cases: number[] = [ -2.5, diff --git a/tests/atan2.test.ts b/tests/atan2.test.ts index 12980ed..2446276 100644 --- a/tests/atan2.test.ts +++ b/tests/atan2.test.ts @@ -1,9 +1,9 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose, assertSameValue } from "./internal/_test_utils.ts"; -import { atan2 } from "./atan2.ts"; -import { PI } from "./constants/pi.ts"; -import { isNegativeZero } from "./guards/negative_zero.ts"; +import { assertClose, assertSameValue } from "../src/internal/_test_utils.ts"; +import { atan2 } from "../src/atan2.ts"; +import { PI } from "../src/constants/pi.ts"; +import { isNegativeZero } from "../src/guards/negative_zero.ts"; const PI_OVER_2 = PI / 2, PI_OVER_4 = PI / 4; diff --git a/tests/atanh.test.ts b/tests/atanh.test.ts index 2edac01..fef0a6b 100644 --- a/tests/atanh.test.ts +++ b/tests/atanh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { atanh } from "./atanh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { atanh } from "../src/atanh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/cbrt.test.ts b/tests/cbrt.test.ts index 6a4df7f..7f9433e 100644 --- a/tests/cbrt.test.ts +++ b/tests/cbrt.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { cbrt } from "./cbrt.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { cbrt } from "../src/cbrt.ts"; const cases: number[] = [ -2.5, diff --git a/tests/ceil.test.ts b/tests/ceil.test.ts index b42e98f..41c0d6c 100644 --- a/tests/ceil.test.ts +++ b/tests/ceil.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { ceil } from "./ceil.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { ceil } from "../src/ceil.ts"; const cases: number[] = [ -2.5, diff --git a/tests/clamp.test.ts b/tests/clamp.test.ts index e37307b..2b9beef 100644 --- a/tests/clamp.test.ts +++ b/tests/clamp.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { clamp } from "./clamp.ts"; +import { clamp } from "../src/clamp.ts"; const cases: Array<[number, number, number]> = [ [-1, 0, 1], diff --git a/tests/clz32.test.ts b/tests/clz32.test.ts index badbdd4..456d5a6 100644 --- a/tests/clz32.test.ts +++ b/tests/clz32.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { clz32 } from "./clz32.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { clz32 } from "../src/clz32.ts"; const cases: number[] = [ -2.5, diff --git a/tests/constants.test.ts b/tests/constants.test.ts index 48cf8db..7470807 100644 --- a/tests/constants.test.ts +++ b/tests/constants.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as constants from "./constants/index.ts"; -import { assertSameValue } from "./internal/_test_utils.ts"; +import * as constants from "../src/constants/index.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; const cases = { Math: [ diff --git a/tests/constants/e.test.ts b/tests/constants/e.test.ts index bacce9e..ef4e6a5 100644 --- a/tests/constants/e.test.ts +++ b/tests/constants/e.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { E } from "./e.ts"; +import { E } from "../../src/constants/e.ts"; describe("E", () => { it("is a number", () => { diff --git a/tests/constants/epsilon.test.ts b/tests/constants/epsilon.test.ts index 88d274c..96634ef 100644 --- a/tests/constants/epsilon.test.ts +++ b/tests/constants/epsilon.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { EPSILON } from "./epsilon.ts"; +import { EPSILON } from "../../src/constants/epsilon.ts"; describe("EPSILON", () => { it("is a number", () => { diff --git a/tests/constants/index.test.ts b/tests/constants/index.test.ts index 541f600..12433ea 100644 --- a/tests/constants/index.test.ts +++ b/tests/constants/index.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as constants from "./index.ts"; +import * as constants from "../../src/constants/index.ts"; const mathKeys = [ "E", diff --git a/tests/constants/infinity.test.ts b/tests/constants/infinity.test.ts index 5922ebe..ded67cc 100644 --- a/tests/constants/infinity.test.ts +++ b/tests/constants/infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { NEGATIVE_INFINITY, POSITIVE_INFINITY } from "./infinity.ts"; +import { NEGATIVE_INFINITY, POSITIVE_INFINITY } from "../../src/constants/infinity.ts"; describe("constants/infinity", () => { it("exports positive and negative infinity", () => { diff --git a/tests/constants/ln10.test.ts b/tests/constants/ln10.test.ts index c3afc1d..5f84c2f 100644 --- a/tests/constants/ln10.test.ts +++ b/tests/constants/ln10.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { LN10 } from "./ln10.ts"; +import { LN10 } from "../../src/constants/ln10.ts"; describe("LN10", () => { it("is a number", () => { diff --git a/tests/constants/ln2.test.ts b/tests/constants/ln2.test.ts index c16b4b5..03d50d0 100644 --- a/tests/constants/ln2.test.ts +++ b/tests/constants/ln2.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { LN2 } from "./ln2.ts"; +import { LN2 } from "../../src/constants/ln2.ts"; describe("LN2", () => { it("is a number", () => { diff --git a/tests/constants/log10e.test.ts b/tests/constants/log10e.test.ts index 1a0a71f..08c7238 100644 --- a/tests/constants/log10e.test.ts +++ b/tests/constants/log10e.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { LOG10E } from "./log10e.ts"; +import { LOG10E } from "../../src/constants/log10e.ts"; describe("LOG10E", () => { it("is a number", () => { diff --git a/tests/constants/log2e.test.ts b/tests/constants/log2e.test.ts index 5c26a7d..c7fdf5f 100644 --- a/tests/constants/log2e.test.ts +++ b/tests/constants/log2e.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { LOG2E } from "./log2e.ts"; +import { LOG2E } from "../../src/constants/log2e.ts"; describe("LOG2E", () => { it("is a number", () => { diff --git a/tests/constants/max_safe_integer.test.ts b/tests/constants/max_safe_integer.test.ts index 7d0905b..3145086 100644 --- a/tests/constants/max_safe_integer.test.ts +++ b/tests/constants/max_safe_integer.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { MAX_SAFE_INTEGER } from "./max_safe_integer.ts"; +import { MAX_SAFE_INTEGER } from "../../src/constants/max_safe_integer.ts"; describe("MAX_SAFE_INTEGER", () => { it("is a number", () => { diff --git a/tests/constants/max_value.test.ts b/tests/constants/max_value.test.ts index c092cc0..40b8a79 100644 --- a/tests/constants/max_value.test.ts +++ b/tests/constants/max_value.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { MAX_VALUE } from "./max_value.ts"; +import { MAX_VALUE } from "../../src/constants/max_value.ts"; describe("MAX_VALUE", () => { it("is a number", () => { diff --git a/tests/constants/min_safe_integer.test.ts b/tests/constants/min_safe_integer.test.ts index b1eb40c..15dd469 100644 --- a/tests/constants/min_safe_integer.test.ts +++ b/tests/constants/min_safe_integer.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { MIN_SAFE_INTEGER } from "./min_safe_integer.ts"; +import { MIN_SAFE_INTEGER } from "../../src/constants/min_safe_integer.ts"; describe("MIN_SAFE_INTEGER", () => { it("is a number", () => { diff --git a/tests/constants/min_value.test.ts b/tests/constants/min_value.test.ts index 56dd8f1..8649665 100644 --- a/tests/constants/min_value.test.ts +++ b/tests/constants/min_value.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { MIN_VALUE } from "./min_value.ts"; +import { MIN_VALUE } from "../../src/constants/min_value.ts"; describe("MIN_VALUE", () => { it("is a number", () => { diff --git a/tests/constants/nan.test.ts b/tests/constants/nan.test.ts index 93604a8..cb4df14 100644 --- a/tests/constants/nan.test.ts +++ b/tests/constants/nan.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { NAN, NaN as NaNValue } from "./nan.ts"; +import { NAN, NaN as NaNValue } from "../../src/constants/nan.ts"; describe("NAN", () => { it("is a number", () => { diff --git a/tests/constants/negative_infinity.test.ts b/tests/constants/negative_infinity.test.ts index 8e23b04..5040bb7 100644 --- a/tests/constants/negative_infinity.test.ts +++ b/tests/constants/negative_infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { NEGATIVE_INFINITY } from "./negative_infinity.ts"; +import { NEGATIVE_INFINITY } from "../../src/constants/negative_infinity.ts"; describe("NEGATIVE_INFINITY", () => { it("is a number", () => { diff --git a/tests/constants/negative_zero.test.ts b/tests/constants/negative_zero.test.ts index 1a15721..ddd0c5a 100644 --- a/tests/constants/negative_zero.test.ts +++ b/tests/constants/negative_zero.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { NEGATIVE_ZERO } from "./negative_zero.ts"; +import { NEGATIVE_ZERO } from "../../src/constants/negative_zero.ts"; describe("NEGATIVE_ZERO", () => { it("is -0", () => { diff --git a/tests/constants/pi.test.ts b/tests/constants/pi.test.ts index 722de99..4f7cdcc 100644 --- a/tests/constants/pi.test.ts +++ b/tests/constants/pi.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { PI } from "./pi.ts"; +import { PI } from "../../src/constants/pi.ts"; describe("PI", () => { it("is a number", () => { diff --git a/tests/constants/positive_infinity.test.ts b/tests/constants/positive_infinity.test.ts index 7ce6cdf..f2e45a1 100644 --- a/tests/constants/positive_infinity.test.ts +++ b/tests/constants/positive_infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { POSITIVE_INFINITY } from "./positive_infinity.ts"; +import { POSITIVE_INFINITY } from "../../src/constants/positive_infinity.ts"; describe("POSITIVE_INFINITY", () => { it("is a number", () => { diff --git a/tests/constants/positive_zero.test.ts b/tests/constants/positive_zero.test.ts index f5689af..677adb4 100644 --- a/tests/constants/positive_zero.test.ts +++ b/tests/constants/positive_zero.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { POSITIVE_ZERO } from "./positive_zero.ts"; +import { POSITIVE_ZERO } from "../../src/constants/positive_zero.ts"; describe("POSITIVE_ZERO", () => { it("is +0", () => { diff --git a/tests/constants/sqrt1_2.test.ts b/tests/constants/sqrt1_2.test.ts index 359967d..743ef8f 100644 --- a/tests/constants/sqrt1_2.test.ts +++ b/tests/constants/sqrt1_2.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { SQRT1_2 } from "./sqrt1_2.ts"; +import { SQRT1_2 } from "../../src/constants/sqrt1_2.ts"; describe("SQRT1_2", () => { it("is a number", () => { diff --git a/tests/constants/sqrt2.test.ts b/tests/constants/sqrt2.test.ts index 3ee5fe9..92517b9 100644 --- a/tests/constants/sqrt2.test.ts +++ b/tests/constants/sqrt2.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { SQRT2 } from "./sqrt2.ts"; +import { SQRT2 } from "../../src/constants/sqrt2.ts"; describe("SQRT2", () => { it("is a number", () => { diff --git a/tests/cos.test.ts b/tests/cos.test.ts index df6b893..77ebc6f 100644 --- a/tests/cos.test.ts +++ b/tests/cos.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { cos } from "./cos.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { cos } from "../src/cos.ts"; const cases: number[] = [ -2.5, diff --git a/tests/cosh.test.ts b/tests/cosh.test.ts index 507ad11..24d6b0e 100644 --- a/tests/cosh.test.ts +++ b/tests/cosh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { cosh } from "./cosh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { cosh } from "../src/cosh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/exp.test.ts b/tests/exp.test.ts index aab293d..c1a31ae 100644 --- a/tests/exp.test.ts +++ b/tests/exp.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { exp } from "./exp.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { exp } from "../src/exp.ts"; const cases: number[] = [ -2.5, diff --git a/tests/expm1.test.ts b/tests/expm1.test.ts index 96e6d93..5dfd8c4 100644 --- a/tests/expm1.test.ts +++ b/tests/expm1.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { expm1 } from "./expm1.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { expm1 } from "../src/expm1.ts"; const cases: number[] = [ -2.5, diff --git a/tests/f16round.test.ts b/tests/f16round.test.ts index 880ae83..ec7f2e7 100644 --- a/tests/f16round.test.ts +++ b/tests/f16round.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { f16round } from "./f16round.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { f16round } from "../src/f16round.ts"; const cases: number[] = [ -2.5, diff --git a/tests/float16/constants.test.ts b/tests/float16/constants.test.ts index 0cc855c..8c577fc 100644 --- a/tests/float16/constants.test.ts +++ b/tests/float16/constants.test.ts @@ -9,7 +9,7 @@ import float16, { FLOAT16_NEGATIVE_ZERO, FLOAT16_POSITIVE_INFINITY, FLOAT16_POSITIVE_ZERO, -} from "./constants.ts"; +} from "../../src/float16/constants.ts"; describe("float16/constants", () => { it("exposes expected numeric constants", () => { diff --git a/tests/float16/decode.test.ts b/tests/float16/decode.test.ts index 93c24f0..6fa4607 100644 --- a/tests/float16/decode.test.ts +++ b/tests/float16/decode.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { decodeFloat16 } from "./decode.ts"; +import { decodeFloat16 } from "../../src/float16/decode.ts"; const cases = [0x0000, 0x8000, 0x3C00, 0xBC00, 0x7C00, 0xFC00, 0x7E00, 0x4248]; diff --git a/tests/float16/encode.test.ts b/tests/float16/encode.test.ts index d1400e6..8edce17 100644 --- a/tests/float16/encode.test.ts +++ b/tests/float16/encode.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { encodeFloat16 } from "./encode.ts"; +import { encodeFloat16 } from "../../src/float16/encode.ts"; const cases = [0, -0, 1, -1, 3.14, 42, Infinity, -Infinity]; diff --git a/tests/float16/guards.test.ts b/tests/float16/guards.test.ts index 87f7c47..b994bc6 100644 --- a/tests/float16/guards.test.ts +++ b/tests/float16/guards.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isFloat16 } from "./guards.ts"; -import { roundFloat16 } from "./round.ts"; +import { isFloat16 } from "../../src/float16/guards.ts"; +import { roundFloat16 } from "../../src/float16/round.ts"; const cases = [0, -0, 1, -1, 0.1, 0.5, 3.14, 42, Infinity, -Infinity, NaN]; diff --git a/tests/float16/index.test.ts b/tests/float16/index.test.ts index 897253b..9e40428 100644 --- a/tests/float16/index.test.ts +++ b/tests/float16/index.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as float16 from "./index.ts"; +import * as float16 from "../../src/float16/index.ts"; describe("float16/index", () => { it("exports float16 utilities", () => { diff --git a/tests/float16/round.test.ts b/tests/float16/round.test.ts index 5a1e1bc..688099e 100644 --- a/tests/float16/round.test.ts +++ b/tests/float16/round.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { roundFloat16 } from "./round.ts"; +import { roundFloat16 } from "../../src/float16/round.ts"; const cases = [0, -0, 1, -1, 3.14, 42, Infinity, -Infinity, NaN]; diff --git a/tests/float32/constants.test.ts b/tests/float32/constants.test.ts index 5797b9e..8ae5e15 100644 --- a/tests/float32/constants.test.ts +++ b/tests/float32/constants.test.ts @@ -9,7 +9,7 @@ import float32, { FLOAT32_NEGATIVE_ZERO, FLOAT32_POSITIVE_INFINITY, FLOAT32_POSITIVE_ZERO, -} from "./constants.ts"; +} from "../../src/float32/constants.ts"; describe("float32/constants", () => { it("exposes expected numeric constants", () => { diff --git a/tests/float32/decode.test.ts b/tests/float32/decode.test.ts index 6ad391c..39f20d9 100644 --- a/tests/float32/decode.test.ts +++ b/tests/float32/decode.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { decodeFloat32 } from "./decode.ts"; +import { decodeFloat32 } from "../../src/float32/decode.ts"; const cases = [ 0x00000000, diff --git a/tests/float32/encode.test.ts b/tests/float32/encode.test.ts index a09c992..294a247 100644 --- a/tests/float32/encode.test.ts +++ b/tests/float32/encode.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { encodeFloat32 } from "./encode.ts"; +import { encodeFloat32 } from "../../src/float32/encode.ts"; const cases = [0, -0, 1, -1, 3.14, 42, Infinity, -Infinity]; diff --git a/tests/float32/guards.test.ts b/tests/float32/guards.test.ts index f8eca69..642041d 100644 --- a/tests/float32/guards.test.ts +++ b/tests/float32/guards.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isFiniteFloat32, isFloat32 } from "./guards.ts"; -import { roundFloat32 } from "./round.ts"; +import { isFiniteFloat32, isFloat32 } from "../../src/float32/guards.ts"; +import { roundFloat32 } from "../../src/float32/round.ts"; const cases = [0, -0, 1, -1, 0.1, 0.5, 3.14, 42, Infinity, -Infinity, NaN]; diff --git a/tests/float32/index.test.ts b/tests/float32/index.test.ts index 424b7ce..26e2893 100644 --- a/tests/float32/index.test.ts +++ b/tests/float32/index.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as float32 from "./index.ts"; +import * as float32 from "../../src/float32/index.ts"; describe("float32/index", () => { it("exports float32 utilities", () => { diff --git a/tests/float32/round.test.ts b/tests/float32/round.test.ts index f163415..86932cc 100644 --- a/tests/float32/round.test.ts +++ b/tests/float32/round.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { roundFloat32 } from "./round.ts"; +import { roundFloat32 } from "../../src/float32/round.ts"; const cases = [0, -0, 1, -1, 3.14, 42, Infinity, -Infinity, NaN]; diff --git a/tests/floor.test.ts b/tests/floor.test.ts index 266e459..d19d34a 100644 --- a/tests/floor.test.ts +++ b/tests/floor.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { floor } from "./floor.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { floor } from "../src/floor.ts"; const cases: number[] = [ -2.5, diff --git a/tests/fround.test.ts b/tests/fround.test.ts index a7a1c0e..8138c76 100644 --- a/tests/fround.test.ts +++ b/tests/fround.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { fround } from "./fround.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { fround } from "../src/fround.ts"; const cases: number[] = [ -2.5, diff --git a/tests/guards/finite.test.ts b/tests/guards/finite.test.ts index 433e42b..b628654 100644 --- a/tests/guards/finite.test.ts +++ b/tests/guards/finite.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isFinite } from "./finite.ts"; +import { isFinite } from "../../src/guards/finite.ts"; const cases: unknown[] = [ 0, diff --git a/tests/guards/index.test.ts b/tests/guards/index.test.ts index d52bd17..f0593e1 100644 --- a/tests/guards/index.test.ts +++ b/tests/guards/index.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as guards from "./index.ts"; +import * as guards from "../../src/guards/index.ts"; describe("guards/index", () => { it("exposes guard functions", () => { diff --git a/tests/guards/infinity.test.ts b/tests/guards/infinity.test.ts index 04f9852..78563dc 100644 --- a/tests/guards/infinity.test.ts +++ b/tests/guards/infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isNegativeInfinity, isPositiveInfinity } from "./infinity.ts"; +import { isNegativeInfinity, isPositiveInfinity } from "../../src/guards/infinity.ts"; describe("guards/infinity", () => { it("re-exports positive/negative infinity checks", () => { diff --git a/tests/guards/integer.test.ts b/tests/guards/integer.test.ts index a8b0dd3..e3c2cad 100644 --- a/tests/guards/integer.test.ts +++ b/tests/guards/integer.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isInteger, isNumberInteger } from "./integer.ts"; +import { isInteger, isNumberInteger } from "../../src/guards/integer.ts"; const cases = [0, 1, -1, 1.2, -2.5, NaN, Infinity, -Infinity, "3"]; diff --git a/tests/guards/nan.test.ts b/tests/guards/nan.test.ts index a5a8b3d..957b8e8 100644 --- a/tests/guards/nan.test.ts +++ b/tests/guards/nan.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isNaN, NAN, NaN as NaNValue } from "./nan.ts"; +import { isNaN, NAN, NaN as NaNValue } from "../../src/guards/nan.ts"; const cases: unknown[] = [0, 1, NaN, "foo", "42", null, undefined]; diff --git a/tests/guards/negative_infinity.test.ts b/tests/guards/negative_infinity.test.ts index dd83d0d..97c997b 100644 --- a/tests/guards/negative_infinity.test.ts +++ b/tests/guards/negative_infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isNegativeInfinity } from "./negative_infinity.ts"; +import { isNegativeInfinity } from "../../src/guards/negative_infinity.ts"; const cases = [0, 1, -1, Infinity, -Infinity, NaN]; diff --git a/tests/guards/negative_zero.test.ts b/tests/guards/negative_zero.test.ts index 8a0df28..273a054 100644 --- a/tests/guards/negative_zero.test.ts +++ b/tests/guards/negative_zero.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isNegativeZero } from "./negative_zero.ts"; +import { isNegativeZero } from "../../src/guards/negative_zero.ts"; const cases = [0, -0, 1, -1, NaN, Infinity, -Infinity]; diff --git a/tests/guards/positive_infinity.test.ts b/tests/guards/positive_infinity.test.ts index 2e85245..1416fb8 100644 --- a/tests/guards/positive_infinity.test.ts +++ b/tests/guards/positive_infinity.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isPositiveInfinity } from "./positive_infinity.ts"; +import { isPositiveInfinity } from "../../src/guards/positive_infinity.ts"; const cases = [0, 1, -1, Infinity, -Infinity, NaN]; diff --git a/tests/guards/positive_zero.test.ts b/tests/guards/positive_zero.test.ts index 0a5396d..cd320d1 100644 --- a/tests/guards/positive_zero.test.ts +++ b/tests/guards/positive_zero.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isPositiveZero } from "./positive_zero.ts"; +import { isPositiveZero } from "../../src/guards/positive_zero.ts"; const cases = [0, -0, 1, -1, NaN, Infinity, -Infinity]; diff --git a/tests/guards/safe_integer.test.ts b/tests/guards/safe_integer.test.ts index 75179f6..ddd33ec 100644 --- a/tests/guards/safe_integer.test.ts +++ b/tests/guards/safe_integer.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isSafeInteger } from "./safe_integer.ts"; +import { isSafeInteger } from "../../src/guards/safe_integer.ts"; const cases = [ 0, diff --git a/tests/hypot.test.ts b/tests/hypot.test.ts index 0bd3246..9285331 100644 --- a/tests/hypot.test.ts +++ b/tests/hypot.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { hypot } from "./hypot.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { hypot } from "../src/hypot.ts"; const cases: Array = [[3, 4], [0, 0], [1, 2, 3], [Infinity, 1], [ NaN, diff --git a/tests/ieee754.test.ts b/tests/ieee754.test.ts index 68cc47a..e8b895c 100644 --- a/tests/ieee754.test.ts +++ b/tests/ieee754.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as ieee754 from "./ieee754.ts"; +import * as ieee754 from "../src/ieee754.ts"; describe("ieee754", () => { it("re-exports float16 utilities", () => { diff --git a/tests/imul.test.ts b/tests/imul.test.ts index 3df361f..76fb804 100644 --- a/tests/imul.test.ts +++ b/tests/imul.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { imul } from "./imul.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { imul } from "../src/imul.ts"; const cases: Array<[number, number]> = [[2, 3], [-1, 8], [4294967295, 5], [ 0, diff --git a/tests/index.test.ts b/tests/index.test.ts index 320fda7..e31b909 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -1,8 +1,8 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import * as math from "./index.ts"; -import mathDefault from "./index.ts"; -import { assertClose, assertSameValue } from "./internal/_test_utils.ts"; +import * as math from "../src/index.ts"; +import mathDefault from "../src/index.ts"; +import { assertClose, assertSameValue } from "../src/internal/_test_utils.ts"; describe("index", () => { it("exports a default namespace", () => { diff --git a/tests/log.test.ts b/tests/log.test.ts index 94769a4..b869454 100644 --- a/tests/log.test.ts +++ b/tests/log.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { log } from "./log.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { log } from "../src/log.ts"; const cases: number[] = [ -2.5, diff --git a/tests/log10.test.ts b/tests/log10.test.ts index b2d3da4..bf86119 100644 --- a/tests/log10.test.ts +++ b/tests/log10.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { log10 } from "./log10.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { log10 } from "../src/log10.ts"; const cases: number[] = [ -2.5, diff --git a/tests/log1p.test.ts b/tests/log1p.test.ts index da1c971..c944ba8 100644 --- a/tests/log1p.test.ts +++ b/tests/log1p.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { log1p } from "./log1p.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { log1p } from "../src/log1p.ts"; const cases: number[] = [ -2.5, diff --git a/tests/log2.test.ts b/tests/log2.test.ts index e66f034..997bac7 100644 --- a/tests/log2.test.ts +++ b/tests/log2.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { log2 } from "./log2.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { log2 } from "../src/log2.ts"; const cases: number[] = [ -2.5, diff --git a/tests/max.test.ts b/tests/max.test.ts index 08a6de8..2d07e5e 100644 --- a/tests/max.test.ts +++ b/tests/max.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { max } from "./max.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { max } from "../src/max.ts"; const cases: Array = [ [1, 2, 3], diff --git a/tests/min.test.ts b/tests/min.test.ts index 5c4cbb6..c51e0b8 100644 --- a/tests/min.test.ts +++ b/tests/min.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { min } from "./min.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { min } from "../src/min.ts"; const cases: Array = [ [1, 2, 3], diff --git a/tests/pow.test.ts b/tests/pow.test.ts index cf39bab..b6463e7 100644 --- a/tests/pow.test.ts +++ b/tests/pow.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { pow } from "./pow.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { pow } from "../src/pow.ts"; const cases: Array<[number, number]> = [ [2, 3], diff --git a/tests/random.test.ts b/tests/random.test.ts index 934ba46..027e5b1 100644 --- a/tests/random.test.ts +++ b/tests/random.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { MT19937, random } from "./random.ts"; +import { MT19937, random } from "../src/random.ts"; const seed = 42; diff --git a/tests/round.test.ts b/tests/round.test.ts index bf8fc80..610e408 100644 --- a/tests/round.test.ts +++ b/tests/round.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { round } from "./round.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { round } from "../src/round.ts"; const cases: number[] = [ -2.5, diff --git a/tests/sign.test.ts b/tests/sign.test.ts index e873882..4271cf1 100644 --- a/tests/sign.test.ts +++ b/tests/sign.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { sign } from "./sign.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { sign } from "../src/sign.ts"; const cases: number[] = [ -2.5, diff --git a/tests/sin.test.ts b/tests/sin.test.ts index c80405e..eeacdd0 100644 --- a/tests/sin.test.ts +++ b/tests/sin.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { sin } from "./sin.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { sin } from "../src/sin.ts"; const cases: number[] = [ -2.5, diff --git a/tests/sinh.test.ts b/tests/sinh.test.ts index 4275a5e..29ef23a 100644 --- a/tests/sinh.test.ts +++ b/tests/sinh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { sinh } from "./sinh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { sinh } from "../src/sinh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/sqrt.test.ts b/tests/sqrt.test.ts index a0c0090..e9114c5 100644 --- a/tests/sqrt.test.ts +++ b/tests/sqrt.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { sqrt } from "./sqrt.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { sqrt } from "../src/sqrt.ts"; const cases: number[] = [ -2.5, diff --git a/tests/tan.test.ts b/tests/tan.test.ts index f711ecd..80b7dc3 100644 --- a/tests/tan.test.ts +++ b/tests/tan.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { tan } from "./tan.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { tan } from "../src/tan.ts"; const cases: number[] = [ -2.5, diff --git a/tests/tanh.test.ts b/tests/tanh.test.ts index 7384e05..23d3b2b 100644 --- a/tests/tanh.test.ts +++ b/tests/tanh.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; -import { tanh } from "./tanh.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; +import { tanh } from "../src/tanh.ts"; const cases: number[] = [ -2.5, diff --git a/tests/trigonometry.test.ts b/tests/trigonometry.test.ts index 5e1ed6f..fe93e55 100644 --- a/tests/trigonometry.test.ts +++ b/tests/trigonometry.test.ts @@ -1,5 +1,5 @@ import { describe, it } from "node:test"; -import { assertClose } from "./internal/_test_utils.ts"; +import { assertClose } from "../src/internal/_test_utils.ts"; import { acos, acosh, @@ -12,7 +12,7 @@ import { sin, tan, tanh, -} from "./index.ts"; +} from "../src/index.ts"; const unaryCases = [0, 0.5, -0.5, 1, -1, Math.PI / 2, Math.PI, NaN]; diff --git a/tests/trunc.test.ts b/tests/trunc.test.ts index f4f37fe..c817116 100644 --- a/tests/trunc.test.ts +++ b/tests/trunc.test.ts @@ -1,7 +1,7 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { assertSameValue } from "./internal/_test_utils.ts"; -import { trunc } from "./trunc.ts"; +import { assertSameValue } from "../src/internal/_test_utils.ts"; +import { trunc } from "../src/trunc.ts"; const cases: number[] = [ -2.5, diff --git a/tests/types/finite.test.ts b/tests/types/finite.test.ts index fefd760..c2a893f 100644 --- a/tests/types/finite.test.ts +++ b/tests/types/finite.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import type { Finite } from "./finite.ts"; +import type { Finite } from "../../src/types/finite.ts"; const finiteValue = 1 as Finite; diff --git a/tests/types/float.test.ts b/tests/types/float.test.ts index 0c65695..27d2f12 100644 --- a/tests/types/float.test.ts +++ b/tests/types/float.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import type { Double, Float, Float16, Float32, Float64 } from "./float.ts"; +import type { Double, Float, Float16, Float32, Float64 } from "../../src/types/float.ts"; const floatValue = 1 as Float; const float16Value = 1 as Float16; diff --git a/tests/types/index.test.ts b/tests/types/index.test.ts index 06009af..8568aa5 100644 --- a/tests/types/index.test.ts +++ b/tests/types/index.test.ts @@ -6,7 +6,7 @@ import type { Integer, Precision, SafeInteger, -} from "./index.ts"; +} from "../../src/types/index.ts"; const finiteValue = 1 as Finite; const floatValue = 1 as Float; diff --git a/tests/types/integer.test.ts b/tests/types/integer.test.ts index d91b921..bbab084 100644 --- a/tests/types/integer.test.ts +++ b/tests/types/integer.test.ts @@ -13,7 +13,7 @@ import type { Uint64, Uint8, Unsigned, -} from "./integer.ts"; +} from "../../src/types/integer.ts"; const intValue = 1 as Integer; const uintValue = 1 as Unsigned; diff --git a/tests/types/precision.test.ts b/tests/types/precision.test.ts index 7d90c99..492fce3 100644 --- a/tests/types/precision.test.ts +++ b/tests/types/precision.test.ts @@ -7,7 +7,7 @@ import type { P64, P8, Precision, -} from "./precision.ts"; +} from "../../src/types/precision.ts"; const p8Value = 8 as P8; const p16Value = 16 as P16; diff --git a/tests/types/safe_integer.test.ts b/tests/types/safe_integer.test.ts index 6672704..097a878 100644 --- a/tests/types/safe_integer.test.ts +++ b/tests/types/safe_integer.test.ts @@ -1,6 +1,6 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import type { SafeInteger } from "./safe_integer.ts"; +import type { SafeInteger } from "../../src/types/safe_integer.ts"; const safeValue = 1 as SafeInteger; From e3f2daa65ae9150e92329928df9560735d4ec908 Mon Sep 17 00:00:00 2001 From: Nicholas Berlette Date: Fri, 23 Jan 2026 17:58:07 -0800 Subject: [PATCH 3/3] chore: fmt --- tests/constants/infinity.test.ts | 5 ++++- tests/guards/infinity.test.ts | 5 ++++- tests/types/float.test.ts | 8 +++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/constants/infinity.test.ts b/tests/constants/infinity.test.ts index ded67cc..fd09466 100644 --- a/tests/constants/infinity.test.ts +++ b/tests/constants/infinity.test.ts @@ -1,6 +1,9 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { NEGATIVE_INFINITY, POSITIVE_INFINITY } from "../../src/constants/infinity.ts"; +import { + NEGATIVE_INFINITY, + POSITIVE_INFINITY, +} from "../../src/constants/infinity.ts"; describe("constants/infinity", () => { it("exports positive and negative infinity", () => { diff --git a/tests/guards/infinity.test.ts b/tests/guards/infinity.test.ts index 78563dc..539d843 100644 --- a/tests/guards/infinity.test.ts +++ b/tests/guards/infinity.test.ts @@ -1,6 +1,9 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import { isNegativeInfinity, isPositiveInfinity } from "../../src/guards/infinity.ts"; +import { + isNegativeInfinity, + isPositiveInfinity, +} from "../../src/guards/infinity.ts"; describe("guards/infinity", () => { it("re-exports positive/negative infinity checks", () => { diff --git a/tests/types/float.test.ts b/tests/types/float.test.ts index 27d2f12..2d756f3 100644 --- a/tests/types/float.test.ts +++ b/tests/types/float.test.ts @@ -1,6 +1,12 @@ import assert from "node:assert"; import { describe, it } from "node:test"; -import type { Double, Float, Float16, Float32, Float64 } from "../../src/types/float.ts"; +import type { + Double, + Float, + Float16, + Float32, + Float64, +} from "../../src/types/float.ts"; const floatValue = 1 as Float; const float16Value = 1 as Float16;