030e99588d
Tests: Use proper order for EXPECT_EQ()
2017-02-03 12:03:59 +01:00
aea17a612d
Tests: Use EXPECT_FALSE() instead of EXPECT_EQ(foo, false)
2017-02-03 11:52:47 +01:00
dc1b45ff1a
Tests: Use EXPECT_TRUE() instead of EXPECT_EQ(foo, true)
2017-02-03 11:52:29 +01:00
6ca6d29e6b
Fix memleaks in our gtests.
2015-12-28 23:19:24 +01:00
6fbb580e51
BLI_stack: gtest for clear
2015-06-03 18:09:12 +10:00
a4c3b92294
BLI_Stack add BLI_stack_peek, BLI_stack_discard
...
also remove own incorrect assert
2014-09-28 15:08:54 +10:00
5c4180d898
BLI_stack: various small additions
...
- add BLI_stack_count
- add BLI_stack_pop_n to pop into an array
- add BLI_stack_push_r, which returns a pointer that can be filled in
Also remove sanity check in BLI_stack_pop, assert if the stack is empty.
2014-07-15 21:09:03 +10:00
228361973d
Add BLI_stack test
2014-06-30 11:55:01 +10:00