haydnv / tinychain

A next-gen database + SaaS framework for rapid development and integration of enterprise services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add unit tests for complex numbers

haydnv opened this issue · comments

This should include tests for basic math operations between:

  • one complex number
  • two complex numbers
  • one complex and one real number
  • one complex tensor
  • one complex tensor and one complex number
  • one complex tensor and one real number
  • two complex tensors
  • one complex tensor and one real tensor

There are examples to follow here: https://github.com/haydnv/tinychain/blob/main/tests/tctest/host/test_tensor.py