二进制求和
This commit is contained in:
1 parent
fb6131a64e
commit
e5a2f13ee2
3 files changed
+20
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { addBinary } from '../../src/math/add-binary'
|
||||
|
||||
test('二进制求和', () => {
|
||||
expect(addBinary('11', '1')).toEqual('100')
|
||||
expect(addBinary('1010', '1011')).toEqual('10101')
|
||||
})
|
||||
Reference in new issue
Block a user