Page MenuHomec4science

test_math_helper.py
No OneTemporary

File Metadata

Created
Thu, Mar 28, 22:49

test_math_helper.py

#!/bin/env python3
from __future__ import print_function
import unittest
class MathHelperTest(unittest.TestCase):
"Unit tests for MathHelper"
def setUp(self, ):
pass
def test_print_colored_matrix(self):
from Slides import math_helper as mh
import numpy as np
from sympy import Matrix
a = Matrix(np.zeros((2, 2)))
a = mh.ColoredMatrix(a)
mh.print_latex('{0}', a)

Event Timeline