You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
341 B
Go
20 lines
341 B
Go
package euler
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestSumMultiples(t *testing.T) {
|
|
fmt.Println(SumMultiples())
|
|
}
|
|
|
|
func TestEvenFibonacci(t *testing.T) {
|
|
fmt.Println(EvenFibonacci(4_000_000))
|
|
}
|
|
|
|
func TestFindLargestPrimeFactor(t *testing.T) {
|
|
fmt.Println(FindLargestPrimeFactor(13195))
|
|
fmt.Println(FindLargestPrimeFactor(600851475143))
|
|
}
|