mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-20 16:49:52 +00:00
Improve test description
This commit is contained in:
parent
0a3c9189a0
commit
d66a760f97
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ describe("segment", () => {
|
|||
expect(segment(1, 3, 2.5, [0, 1, 2])).toBe(2);
|
||||
expect(segment(-1, 2, 0.5, [0, 1, 2])).toBe(1);
|
||||
});
|
||||
it("can handle mid", () => {
|
||||
it("can handle various real wold cases", () => {
|
||||
expect(segment(-100, 100, -100, ["left", "center", "right"])).toBe("left");
|
||||
expect(segment(0, 100, 88, ["left", "center", "right"])).toBe("right");
|
||||
expect(segment(0, 100, 50, ["left", "center", "right"])).toBe("center");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue