Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
span_util_unittest.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include "core/fxcrt/span_util.h"
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
+ Include dependency graph for span_util_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (Spanset, Fits)
 
 TEST (Spanset, Empty)
 
 TEST (Spancpy, FitsEntirely)
 
 TEST (Spancpy, FitsWithin)
 
 TEST (Spancpy, EmptyCopyWithin)
 
 TEST (Spancpy, EmptyCopyToEmpty)
 
 TEST (Spanmove, FitsWithin)
 
 TEST (Span, AssignOverOnePastEnd)
 
 TEST (ReinterpretSpan, Empty)
 
 TEST (ReinterpretSpan, LegalConversions)
 
 TEST (ReinterpretSpan, BadLength)
 
 TEST (ReinterpretSpan, BadAlignment)
 

Function Documentation

◆ TEST() [1/12]

TEST ( ReinterpretSpan ,
BadAlignment  )

Definition at line 116 of file span_util_unittest.cpp.

◆ TEST() [2/12]

TEST ( ReinterpretSpan ,
BadLength  )

Definition at line 111 of file span_util_unittest.cpp.

◆ TEST() [3/12]

TEST ( ReinterpretSpan ,
Empty  )

Definition at line 93 of file span_util_unittest.cpp.

◆ TEST() [4/12]

TEST ( ReinterpretSpan ,
LegalConversions  )

Definition at line 100 of file span_util_unittest.cpp.

◆ TEST() [5/12]

TEST ( Span ,
AssignOverOnePastEnd  )

Definition at line 85 of file span_util_unittest.cpp.

◆ TEST() [6/12]

TEST ( Spancpy ,
EmptyCopyToEmpty  )

Definition at line 62 of file span_util_unittest.cpp.

◆ TEST() [7/12]

TEST ( Spancpy ,
EmptyCopyWithin  )

Definition at line 51 of file span_util_unittest.cpp.

◆ TEST() [8/12]

TEST ( Spancpy ,
FitsEntirely  )

Definition at line 29 of file span_util_unittest.cpp.

◆ TEST() [9/12]

TEST ( Spancpy ,
FitsWithin  )

Definition at line 39 of file span_util_unittest.cpp.

◆ TEST() [10/12]

TEST ( Spanmove ,
FitsWithin  )

Definition at line 73 of file span_util_unittest.cpp.

◆ TEST() [11/12]

TEST ( Spanset ,
Empty  )

Definition at line 20 of file span_util_unittest.cpp.

◆ TEST() [12/12]

TEST ( Spanset ,
Fits  )

Definition at line 11 of file span_util_unittest.cpp.