mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-02 14:20:58 +00:00
9 lines
221 B
JavaScript
9 lines
221 B
JavaScript
|
|
describe("minus behavior", () => {
|
||
|
|
test("the basics", () => {
|
||
|
|
expect(3n - 4n).toBe(-1n);
|
||
|
|
expect(3n - -4n).toBe(7n);
|
||
|
|
expect(-3n - -4n).toBe(-1n);
|
||
|
|
expect(-3n - 4n).toBe(-7n);
|
||
|
|
});
|
||
|
|
});
|