Test Case Coverage ================== **Coverage:** 100.0% (8 of 8 items OK) .. _lobster-item-f09baa73fc2046e0a6318bafc79e51542f5bb834: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_001 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Foo:GetNumber** :Given: a default-constructed Foo instance :When: GetNumber is called :Then: it returns 42 .. raw:: html
**//Foo:GetNumberViaConstInstance** :Given: a const default-constructed Foo instance :When: GetNumber is called through a const reference :Then: it still returns 42 .. raw:: html
**Derived from:** * :ref:`Foo:GetNumberViaConstInstance ` * :ref:`Foo:GetNumber ` * :ref:`SampleComponent.REQ\_COMP\_001 ` .. raw:: html
**Source:** unknown location .. _lobster-item-fd6cc143a9630d987c7fc1ab97311cb9c70e845f: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_002 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Foo:IsFinal** :Given: the Foo class definition :When: checking whether the class is extensible :Then: it is declared final, preventing any subclassing .. raw:: html
**//Foo:IsFinalStaticAssert** :Given: the Foo class definition :When: querying the type trait std::is_final for Foo :Then: the trait reports true, confirming Foo cannot be subclassed .. raw:: html
**Derived from:** * :ref:`Foo:IsFinalStaticAssert ` * :ref:`Foo:IsFinal ` * :ref:`SampleComponent.REQ\_COMP\_002 ` .. raw:: html
**Source:** unknown location .. _lobster-item-b0c6f55fda0b67cdea5a99e62d7e9c26549d1a9f: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_003 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Bar:AssertNumber** :Given: a Bar instance owning a Foo with value 42 :When: AssertNumber is called :Then: it returns true .. raw:: html
**Derived from:** * :ref:`Bar:AssertNumber ` * :ref:`SampleComponent.REQ\_COMP\_003 ` .. raw:: html
**Source:** unknown location .. _lobster-item-9aefb5f6d627df76eb65c5ca75be3bca573b9286: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_004 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Bar:AssertNumber** :Given: a Bar instance owning a Foo with value 42 :When: AssertNumber is called :Then: it returns true .. raw:: html
**Derived from:** * :ref:`Bar:AssertNumber ` * :ref:`SampleComponent.REQ\_COMP\_004 ` .. raw:: html
**Source:** unknown location .. _lobster-item-22a1cbb7e8f7e971b49eb4ee7a018f680154d09d: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_005 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Bar:AssertNumber** :Given: a Bar instance owning a Foo with value 42 :When: AssertNumber is called :Then: it returns true .. raw:: html
**Derived from:** * :ref:`Bar:AssertNumber ` * :ref:`SampleComponent.REQ\_COMP\_005 ` .. raw:: html
**Source:** unknown location .. _lobster-item-1322327beaa3d25cd1342bbe0088af007bf7ffca: .. dropdown:: [OK] test\_case\_coverage Test SampleComponent.REQ\_COMP\_006 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Bar:Format** :Given: a Bar instance owning a Foo with value 42 :When: Format is called :Then: it returns the human-readable string "42" .. raw:: html
**Derived from:** * :ref:`Bar:Format ` * :ref:`SampleComponent.REQ\_COMP\_006 ` .. raw:: html
**Source:** unknown location .. _lobster-item-c6713c56ad86e627caf752f49bcbd7d18446454c: .. dropdown:: [OK] test\_case\_coverage Test SampleComponentExtra.REQ\_COMP\_EXTRA\_001 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Foo:InitializesToKnownValue** :Given: a default-constructed Foo instance :When: GetNumber is called for the first time :Then: it returns 42 .. raw:: html
**Derived from:** * :ref:`Foo:InitializesToKnownValue ` * :ref:`SampleComponentExtra.REQ\_COMP\_EXTRA\_001 ` .. raw:: html
**Source:** unknown location .. _lobster-item-faa6dfc760f184fe0e58f74363b92c3580e693cd: .. dropdown:: [OK] test\_case\_coverage Test SampleComponentExtra.REQ\_COMP\_EXTRA\_002 :class-title: sd-bg-success sd-text-white .. pull-quote:: **//Foo:ValueConsistentAcrossReads** :Given: a const Foo instance :When: GetNumber is called multiple times :Then: the same value is returned on each call .. raw:: html
**Derived from:** * :ref:`Foo:ValueConsistentAcrossReads ` * :ref:`SampleComponentExtra.REQ\_COMP\_EXTRA\_002 ` .. raw:: html
**Source:** unknown location