Page MenuHomec4science

test_math_helper.py
No OneTemporary

File Metadata

Created
Tue, Jan 19, 03:02

test_math_helper.py

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

Event Timeline