Slash-The-Hordes/tests/virt.test.ts

14 lines
239 B
TypeScript
Raw Normal View History

2022-11-03 15:55:49 +00:00
test("try ", () => {
const x = 200;
const y = -100;
const atan = Math.atan(Math.abs(y) / Math.abs(x));
console.log(Math.sin(atan) * y);
console.log(Math.cos(atan) * x);
expect(true).toBeTruthy();
});
export {};