Added more tests.

This commit is contained in:
2023-09-04 16:41:07 +02:00
parent 3543700b01
commit 8c2906765f
9 changed files with 170 additions and 14 deletions

16
tests/tensoriter_test.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _TESNORITER_TEST_H_INCLUDED_
#define _TESNORITER_TEST_H_INCLUDED_
#include "../tensor.h"
#include "../tensoriter.h"
#include "tensor_assert.h"
void tensoriter_test_scalar_next(void);
void tensoriter_test_scalar_get(void);
void tensoriter_test_scalar_map(void);
void tensoriter_test_scalar_map_add(void);
void tensoriter_test_scalar_map_sub(void);
void tensoriter_test_scalar_map_mul(void);
void tensoriter_test_scalar_map_div(void);
#endif // _TESNORITER_TEST_H_INCLUDED_