-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(attribute): add testcase file for attribute
- Loading branch information
閫嶄负
committed
Apr 25, 2021
1 parent
b79872f
commit 384bc6f
Showing
5 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { | ||
Color, | ||
} from '../../../../src/geometry/attribute'; | ||
|
||
describe('attribute color', () => { | ||
it('value', () => { | ||
expect(Color).toBeDefined(); | ||
}); | ||
|
||
it('callback', () => { | ||
expect(Color).toBeDefined(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { | ||
Attribute, | ||
Color, | ||
Position, | ||
Shape, | ||
Size, | ||
} from '../../../../src/geometry/attribute'; | ||
|
||
// TODO 鍗曟祴 100% | ||
describe('attribute', () => { | ||
it('export', () => { | ||
expect([Attribute, | ||
Color, | ||
Position, | ||
Shape, | ||
Size, | ||
].every(e => !!e)).toBe(true); | ||
}); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { | ||
Position, | ||
} from '../../../../src/geometry/attribute'; | ||
|
||
describe('attribute position', () => { | ||
it('value', () => { | ||
expect(Position).toBeDefined(); | ||
}); | ||
|
||
it('callback', () => { | ||
expect(Position).toBeDefined(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { | ||
Shape, | ||
} from '../../../../src/geometry/attribute'; | ||
|
||
describe('attribute shape', () => { | ||
it('value', () => { | ||
expect(Shape).toBeDefined(); | ||
}); | ||
|
||
it('callback', () => { | ||
expect(Shape).toBeDefined(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { | ||
Size, | ||
} from '../../../../src/geometry/attribute'; | ||
|
||
describe('attribute color', () => { | ||
it('value', () => { | ||
expect(Size).toBeDefined(); | ||
}); | ||
|
||
it('callback', () => { | ||
expect(Size).toBeDefined(); | ||
}); | ||
}); |