FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SFML/test/Network/SocketSelector.test.cpp at master · criptych/SFML · GitHub
criptych
/
SFML
Public
forked from
SFML/SFML
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
SFML
/
test
/
Network
/
SocketSelector.test.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 723 Bytes
Breadcrumbs
SFML
/
test
/
Network
/
SocketSelector.test.cpp
Copy path
File metadata and controls
27 lines (21 loc) · 723 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
include
<
SFML/Network/SocketSelector.hpp
>
//
Other 1st party headers
#
include
<
SFML/Network/UdpSocket.hpp
>
#
include
<
catch2/catch_test_macros.hpp
>
#
include
<
type_traits
>
TEST_CASE
(
"
[Network] sf::SocketSelector
"
)
{
SECTION
(
"
Type traits
"
)
{
STATIC_CHECK
(std::is_copy_constructible_v<sf::SocketSelector>);
STATIC_CHECK
(std::is_copy_assignable_v<sf::SocketSelector>);
STATIC_CHECK
(std::is_nothrow_move_constructible_v<sf::SocketSelector>);
STATIC_CHECK
(std::is_nothrow_move_assignable_v<sf::SocketSelector>);
}
sf::UdpSocket socket;
SECTION
(
"
Construction
"
)
{
const
sf::SocketSelector socketSelector;
CHECK
(!socketSelector.
isReady
(socket));
}
}
Back
|
FazBrowse Home
|
New Git URL