From e86f3b0b6fd24a5d7e7e1077fca4015346204c9a Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 1 Feb 2024 10:40:17 +0100 Subject: [PATCH] test stuff --- members/revsqrt/tests/features/book/revsqrt.feature | 6 ++++++ members/revsqrt/tests/revsqrt.rs | 1 + 2 files changed, 7 insertions(+) diff --git a/members/revsqrt/tests/features/book/revsqrt.feature b/members/revsqrt/tests/features/book/revsqrt.feature index 055c6df..ce1e108 100644 --- a/members/revsqrt/tests/features/book/revsqrt.feature +++ b/members/revsqrt/tests/features/book/revsqrt.feature @@ -123,3 +123,9 @@ Feature: inverted square root calculation | 0 | | 20000001.1 | Then they are not about the same + + Scenario: Test if we can use the asterisk + Given a number + * a number + When we calculate the inverted square root of it normally + Then they are not about the same diff --git a/members/revsqrt/tests/revsqrt.rs b/members/revsqrt/tests/revsqrt.rs index f7e2260..19fb222 100644 --- a/members/revsqrt/tests/revsqrt.rs +++ b/members/revsqrt/tests/revsqrt.rs @@ -133,6 +133,7 @@ async fn they_are_not_about_the_same(world: &mut NumWorld) { } } + #[tokio::main] async fn main() { NumWorld::run("tests/features/book/revsqrt.feature").await;