overte/tests/shared/src/BitVectorHelperTests.h
Anthony J. Thibault a252e90f96 Bug fix for incorrect positioned eyes on other peoples avatars
There was a bug in writeBitVector(), where the last byte was not consistantly written into the destination buffer.
A unit test was added to verify that writeBitVector() and readBitVector() are correct.
2018-01-24 18:58:08 -08:00

23 lines
503 B
C++

//
// BitVectorHelperTests.h
// tests/shared/src
//
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_BitVectorHelperTests_h
#define hifi_BitVectorHelperTests_h
#include <QtTest/QtTest>
class BitVectorHelperTests : public QObject {
Q_OBJECT
private slots:
void sizeTest();
void readWriteTest();
};
#endif // hifi_BitVectorHelperTests_h