mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 21:53:37 +02:00
Update enumerations to match SFML 3
This commit is contained in:
1 parent
fef1e09542
commit
c74378bade
9 files changed
+32
-19
No files matched your search
@@ -14,7 +14,7 @@ TEST_CASE("[Window] sfKeyboard")
|
||||
STATIC_CHECK(sfKeyC == static_cast<int>(sf::Keyboard::Key::C));
|
||||
STATIC_CHECK(sfKeyD == static_cast<int>(sf::Keyboard::Key::D));
|
||||
STATIC_CHECK(sfKeyPause == static_cast<int>(sf::Keyboard::Key::Pause));
|
||||
STATIC_CHECK(sfKeyCount == sf::Keyboard::KeyCount);
|
||||
CHECK(sfKeyCount == sf::Keyboard::KeyCount);
|
||||
}
|
||||
|
||||
SECTION("sfScancode")
|
||||
@@ -24,6 +24,6 @@ TEST_CASE("[Window] sfKeyboard")
|
||||
STATIC_CHECK(sfScanB == static_cast<int>(sf::Keyboard::Scan::B));
|
||||
STATIC_CHECK(sfScanC == static_cast<int>(sf::Keyboard::Scan::C));
|
||||
STATIC_CHECK(sfScanD == static_cast<int>(sf::Keyboard::Scan::D));
|
||||
STATIC_CHECK(sfScancodeCount == sf::Keyboard::ScancodeCount);
|
||||
CHECK(sfScancodeCount == sf::Keyboard::ScancodeCount);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user