Increase testing coverage #34
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
Issues that qualify towards Hacktoberfest goals.
Please feel free to pick any of the not-implemented operation and add tests - even if not coplete.
Problem
All operations should be covered by tests to enforce that the library is correct at all times.
The challenge in thoroughly testing the library lays in the sheer amount of possible variants of each operation:
V2F
,V3F
,V2I
,V3I
)Comp
InPlace
CompInPlace
V2F
andV3F
allow forfloat32
andfloat64
turning it from 2 to 4 permutationsV2I
andV3I
allow forint
,int8
,int16
,int32
andint64
turning it from 2 to 10 permutationsAn operation like
Add
could be considered to have a high number of variants:Add
,AddComp
,AddInPlace
,AddCompInPlace
= 4 variantsV2F
andV3F
introduce 4 variants of each = 4*4 = 16variantsV2I
andV3I
introduce 10 more variants of each = 4*10 = 40variantsThat produces 16+40=56 variants of
Add
to run multiple tests on!Current status
V2F
andV2I
implementedThe text was updated successfully, but these errors were encountered: