Added travis.

This commit is contained in:
jgoppert
2015-11-03 20:17:34 -05:00
parent 5369904d27
commit b842f8d8a5
3 changed files with 20 additions and 5 deletions
+8 -3
View File
@@ -1,12 +1,17 @@
#include "Quaternion.hpp"
#include <assert.h>
#include <stdio.h>
#include <cassert>
#include <cstdio>
using namespace matrix;
int main()
{
Quatf p(1, 0, 0, 0);
Quatf p(1, 2, 3, 4);
assert(p(0) == 1);
assert(p(1) == 2);
assert(p(2) == 3);
assert(p(3) == 100);
Quatf q(0, 1, 0, 0);
Quatf r = p*q;
Dcmf dcm = Dcmf(p);