From cd12498349362cc646a7140451bf51db2a2dac00 Mon Sep 17 00:00:00 2001 From: Kris Jusiak Date: Tue, 1 Feb 2022 16:06:41 +0000 Subject: [PATCH] :art: Update BDD scenario to use aligned GWT --- example/BDD.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/example/BDD.cpp b/example/BDD.cpp index ade37b3d..abf152b6 100644 --- a/example/BDD.cpp +++ b/example/BDD.cpp @@ -30,4 +30,14 @@ int main() { }; }; }; + + scenario("Addition"); + given("I have number 40"); + auto number = 40; + + when("I add 2 to number"); + number += 2; + + then("I expect number to be 42"); + 42_i == number; }