Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
21a38a2b
Commit
21a38a2b
authored
10 years ago
by
Etienne Kneuss
Browse files
Options
Downloads
Patches
Plain Diff
Algin values in opendays2
parent
770ea247
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testcases/web/demos/05_OpenDays2.scala
+12
-12
12 additions, 12 deletions
testcases/web/demos/05_OpenDays2.scala
with
12 additions
and
12 deletions
testcases/web/demos/05_OpenDays2.scala
+
12
−
12
View file @
21a38a2b
...
...
@@ -6,18 +6,18 @@ object EpflOpenDays {
@library
sealed
abstract
class
Piece
{
def
valeur
:
BigInt
=
this
match
{
case
Cent5
=>
5
case
Cent10
=>
10
case
Cent20
=>
20
case
Cent50
=>
50
case
Fr1
=>
100
case
Fr2
=>
200
case
Fr5
=>
500
case
Bi10
=>
1000
case
Bi20
=>
2000
case
Bi50
=>
5000
case
Bi100
=>
10000
case
Bi200
=>
20000
case
Cent5
=>
5
case
Cent10
=>
10
case
Cent20
=>
20
case
Cent50
=>
50
case
Fr1
=>
100
case
Fr2
=>
200
case
Fr5
=>
500
case
Bi10
=>
1000
case
Bi20
=>
2000
case
Bi50
=>
5000
case
Bi100
=>
10000
case
Bi200
=>
20000
case
Bi1000
=>
100000
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment