mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-15 03:35:39 +02:00
Add tests for comparing & stringifying volatile pointers
This commit is contained in:
@@ -864,6 +864,20 @@ ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2
|
||||
ok {test-number} - true
|
||||
# Commas in various macros are allowed
|
||||
ok {test-number} - std::vector<int>{1, 2} == std::vector<int>{1, 2} for: { 1, 2 } == { 1, 2 }
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - !(ptr) for: !0
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - ptr == ptr for: 0 == 0
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - !(ptr != ptr) for: !(0 != 0)
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - !(ptr < ptr) for: !(0 < 0)
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - ptr <= ptr for: 0 <= 0
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - !(ptr > ptr) for: !(0 > 0)
|
||||
# Comparing (and stringifying) volatile pointers works
|
||||
ok {test-number} - ptr >= ptr for: 0 >= 0
|
||||
# Comparing function pointers
|
||||
ok {test-number} - a for: 0x<hex digits>
|
||||
# Comparing function pointers
|
||||
@@ -4594,5 +4608,5 @@ ok {test-number} - q3 == 23. for: 23.0 == 23.0
|
||||
ok {test-number} -
|
||||
# xmlentitycheck
|
||||
ok {test-number} -
|
||||
1..2304
|
||||
1..2311
|
||||
|
||||
|
Reference in New Issue
Block a user