mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
github: add CI for pull requests
and hacks to get tests working
This commit is contained in:
committed by
David Lechner
parent
cde8d6b764
commit
90817a1ae7
@@ -0,0 +1,9 @@
|
||||
import { fmod } from './math';
|
||||
|
||||
test('fmod of positive numbers', () => {
|
||||
expect(fmod(3, 4)).toBe(3 % 4);
|
||||
});
|
||||
|
||||
test('fmod of negative and positive number', () => {
|
||||
expect(fmod(-3, 4)).toBe(1);
|
||||
});
|
||||
Reference in New Issue
Block a user