Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input / expected output tests #3

Open
MaxwellBo opened this issue Feb 28, 2018 · 0 comments
Open

Input / expected output tests #3

MaxwellBo opened this issue Feb 28, 2018 · 0 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MaxwellBo
Copy link
Owner

MaxwellBo commented Feb 28, 2018

Scala Center Advisory Board Accessible Scala proposal provided some examples for testing - many more are needed.

Current tests

Example tests:

case class Person(name: String, address: Address, age: Int)
// case class Person containing name String, address Address and age Int
// --summary --prefer=symbols: case class Person with name, address and age
// --summary --prefer=types:   case class Person with String, Address and Int
trait Monad[F[_]] extends Applicative[F] {
    // five methods defined here...
}
// trait Monad with higher type F extending applicative of F with five declarations
// trait Monad higher F
val a = 5
// val a with value 5 
// val a
type ErrorsOr[A] = ValidatedNel[String, A]
// type alias ErrorsOr type A equal to ValidatedNel of String and type A
// alias ErrorsOr A
@MaxwellBo MaxwellBo added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 28, 2018
@MaxwellBo MaxwellBo self-assigned this Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant