diff --git a/poincare/Makefile b/poincare/Makefile index bd0807155..7d0515d35 100644 --- a/poincare/Makefile +++ b/poincare/Makefile @@ -19,7 +19,8 @@ objs += $(addprefix poincare/src/layout/,\ exponent_layout.o\ string_layout.o) tests += $(addprefix poincare/test/,\ - integer.cpp) + integer.cpp\ + product.cpp) # Even though flex and bison will generate both implementation and headers at # once, we don't declare it in the Makefile. If we did, "make -jN" with N>1 may diff --git a/poincare/test/product.cpp b/poincare/test/product.cpp new file mode 100644 index 000000000..c74f39408 --- /dev/null +++ b/poincare/test/product.cpp @@ -0,0 +1,9 @@ +#include +#include +#include + +QUIZ_CASE(poincare_multiply_approximate) { + //Context context; + //Integer a(1), b(2); + //assert(Product(&a, &b).approximate(context) == 2); +}