mirror of
https://github.com/pion/mediadevices.git
synced 2025-10-04 08:16:33 +08:00
Migrate to kbinani/screenshot for screen adapter
https://github.com/kbinani/screenshot is a library to capture desktop screen. It is cgo free for Windows, Linux, FreeBSD, OpenBSD, NetBSD, and Solaris.
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
package screen
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAlign64(t *testing.T) {
|
||||
if ret := cAlign64(0x00010008); ret != 0x00010008 {
|
||||
t.Errorf("Wrong alignment, expected %x, got %x", 0x00010008, ret)
|
||||
}
|
||||
if ret := cAlign64(0x00010006); ret != 0x00010008 {
|
||||
t.Errorf("Wrong alignment, expected %x, got %x", 0x00010008, ret)
|
||||
}
|
||||
if ret := cAlign64(0x00010009); ret != 0x00010010 {
|
||||
t.Errorf("Wrong alignment, expected %x, got %x", 0x00010010, ret)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user