This commit is contained in:
NicklasXYZ 2024-12-09 00:17:06 +01:00
parent 3bae9faffc
commit 7a883f62ec

View file

@ -107,7 +107,7 @@ pub fn list_linear_space_test() {
|> should.be_true() |> should.be_true()
// Check that when start == stop and steps > 0, then // Check that when start == stop and steps > 0, then
// the value start/stop value is just repeated, since the // the value (start/stop) is just repeated, since the
// step increment will be 0 // step increment will be 0
let assert Ok(linspace) = maths.linear_space(10.0, 10.0, 5, True) let assert Ok(linspace) = maths.linear_space(10.0, 10.0, 5, True)
let assert Ok(result) = let assert Ok(result) =
@ -193,7 +193,7 @@ pub fn list_logarithmic_space_test() {
|> should.be_true() |> should.be_true()
// Check that when start == stop and steps > 0, then // Check that when start == stop and steps > 0, then
// the value start/stop value is just repeated, since the // the value (start/stop) is just repeated, since the
// step increment will be 0 // step increment will be 0
let assert Ok(logspace) = maths.logarithmic_space(5.0, 5.0, 5, True, 5.0) let assert Ok(logspace) = maths.logarithmic_space(5.0, 5.0, 5, True, 5.0)
let assert Ok(result) = let assert Ok(result) =
@ -286,7 +286,7 @@ pub fn list_geometric_space_test() {
|> should.be_true() |> should.be_true()
// Check that when start == stop and steps > 0, then // Check that when start == stop and steps > 0, then
// the value start/stop value is just repeated, since the // the value (start/stop) is just repeated, since the
// step increment will be 0 // step increment will be 0
let assert Ok(logspace) = maths.geometric_space(5.0, 5.0, 5, True) let assert Ok(logspace) = maths.geometric_space(5.0, 5.0, 5, True)
let assert Ok(result) = let assert Ok(result) =