What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-13 17:16:23
login test cases
=Verify if a user will be able to login with a valid username and valid password. Positive =Verify if a user cannot login with a valid username and an invalid password. Negative =Verify the login page for both, when the field is blank and Submit button ... Add solution -
Go 2021-11-11 03:17:29
golang read many images into one simegle image
// Create a struct to deal with pixel type Pixel struct { Point image.Point Color color.Color } // Keep it DRY so don't have to repeat opening file and decode func OpenAndDecode(filepath string) (image.Image, string, error) { imgFile, err := ... Add solution -
Other 2021-11-02 18:07:08
Unhandled Exception: type 'Color' is not a subtype of type 'MaterialColor'
Map<int, Color> color = { 50: Color.fromRGBO(255, 92, 87, .1), 100: Color.fromRGBO(255, 92, 87, .2), 200: Color.fromRGBO(255, 92, 87, .3), 300: Color.fromRGBO(255, 92, 87, .4), 400: Color.fromRGBO(255, 92, 87, .5), 500: Color.fromRGBO(255, 92, 87, .... Add solution