Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-22 02:28:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-22 02:28:56 +0300
commit05ab3356a719ca1991dc993e2a055962e24aa138 (patch)
tree7019a401b278517c54864ac9cdd22a7a03c7eb7d /source/blender/blenlib
parent3e1baa7d539757b8e5fa870d4909354e0b5645b9 (diff)
Cleanup: spelling in comments, use C style comments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/tests/BLI_uuid_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/tests/BLI_uuid_test.cc b/source/blender/blenlib/tests/BLI_uuid_test.cc
index b406a0521a1..111c21cb7d1 100644
--- a/source/blender/blenlib/tests/BLI_uuid_test.cc
+++ b/source/blender/blenlib/tests/BLI_uuid_test.cc
@@ -24,11 +24,11 @@ TEST(BLI_uuid, generate_random)
{
const bUUID uuid = BLI_uuid_generate_random();
- // The 4 MSbits represent the "version" of the UUID.
+ /* The 4 MSbits represent the "version" of the UUID. */
const uint16_t version = uuid.time_hi_and_version >> 12;
EXPECT_EQ(version, 4);
- // The 2 MSbits should be 0b10, indicating compliance with RFC4122.
+ /* The 2 MSbits should be 0b10, indicating compliance with RFC4122. */
const uint8_t reserved = uuid.clock_seq_hi_and_reserved >> 6;
EXPECT_EQ(reserved, 0b10);
}
@@ -42,7 +42,7 @@ TEST(BLI_uuid, generate_many_random)
const bUUID uuid = BLI_uuid_generate_random();
EXPECT_NE(first_uuid, uuid);
- // Check that the non-random bits are set according to RFC4122.
+ /* Check that the non-random bits are set according to RFC4122. */
const uint16_t version = uuid.time_hi_and_version >> 12;
EXPECT_EQ(version, 4);
const uint8_t reserved = uuid.clock_seq_hi_and_reserved >> 6;