Coder Social home page Coder Social logo

Failed io_tests about matrix HOT 5 CLOSED

jackfrye avatar jackfrye commented on September 27, 2024
Failed io_tests

from matrix.

Comments (5)

kortschak avatar kortschak commented on September 27, 2024

Can you post the output of git rev-parse HEAD when you are in $GOAPTH/src/github.com/gonum/matrix and what command you used to invoke the tests. This failure should not be possible; none of the labels in the errors above are protected by build tags and io_test.go is in "github.com/gonum/matrix/mat64", so they should all be visible.

from matrix.

jackfrye avatar jackfrye commented on September 27, 2024

I may be running the wrong command to test.

C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>git rev-parse HEAD
96a2f64

C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>go test io_test.go

command-line-arguments

.\io_test.go:19: undefined: Dense
.\io_test.go:20: undefined: Dense
.\io_test.go:21: undefined: Vector
.\io_test.go:22: undefined: Vector
.\io_test.go:27: undefined: Dense
.\io_test.go:28: undefined: Matrix
.\io_test.go:98: undefined: sizeFloat64
.\io_test.go:98: undefined: sizeInt64
.\io_test.go:293: undefined: Vector
.\io_test.go:294: undefined: Matrix
.\io_test.go:98: too many errors
FAIL command-line-arguments [build failed]

from matrix.

kortschak avatar kortschak commented on September 27, 2024

Try go test github.com/gonum/matrix/mat64 -run (Marshal|Unmarshal|IO) (leave off the -run (Marshal|Unmarshal|IO) to run all the tests in the package). What you have done is try to run the tests with only that file, which obviously lacks the entirety of the rest of the package. Probably you should read the output of go test -help.

from matrix.

jackfrye avatar jackfrye commented on September 27, 2024

C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>go test
PASS
ok github.com/gonum/matrix/mat64 5.795s

Got you. Thanks. Still pretty new to Go. Appreciate the guidance.

from matrix.

kortschak avatar kortschak commented on September 27, 2024

No worries. Closing this.

from matrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.