#include #include #include "Swiften/StringCodecs/SHA1.h" using namespace Swift; class SHA1Test : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(SHA1Test); CPPUNIT_TEST(testEncode); CPPUNIT_TEST_SUITE_END(); public: SHA1Test() {} void testEncode() { ByteArray result(SHA1::getBinaryHash("client/pc//Exodus 0.9.1