Open Xkonti opened 1 year ago
Please feel free to pick any of the not-implemented operation and add tests - even if not coplete.
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
float32
float64
int
int8
int16
int32
int64
An operation like Add could be considered to have a high number of variants:
Add
AddComp
AddInPlace
AddCompInPlace
That produces 16+40=56 variants of Add to run multiple tests on!
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
implemented